Project

General

Profile

Actions

Bug #12673

closed

cache agent is idle although one object is left in the cache

Added by Loïc Dachary over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
firefly,hammer
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Steps to reproduce:

    ./stop.sh 
    rm -fr out dev ; MON=1 OSD=3 ./vstart.sh -X -d -n -l mon osd

    ceph osd pool create slow  1 1
    ceph osd pool create fast  1 1
    ceph osd tier add slow fast
    ceph osd tier cache-mode fast writeback
    ceph osd tier set-overlay slow fast
    ceph osd pool set fast hit_set_type bloom
    rados -p slow put obj3 /etc/group
    ceph osd pool set fast target_max_objects  1
    ceph osd pool set fast hit_set_count 1
    ceph osd pool set fast hit_set_period 5

    sleep 30
    ceph df

    rados -p slow get obj3 /tmp/obj3
    ceph df

    sleep 30

    ceph df
    ceph health detail


The obj3 is not evicted from the fast pool.
$ ceph df
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
GLOBAL:
    SIZE     AVAIL      RAW USED     %RAW USED 
    547G     53735M         494G         90.40 
POOLS:
    NAME     ID     USED     %USED     MAX AVAIL     OBJECTS 
    rbd      0         0         0        17909M           0 
    slow     1      3834         0        17909M           3 
    fast     2      1363         0        17909M           2 
$ rados -p fast ls
obj3

Files

osd.2.log.gz (727 KB) osd.2.log.gz osd.2.log Loïc Dachary, 08/13/2015 10:34 AM

Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #12882: cache agent is idle although one object is left in the cacheResolvedLoïc Dachary08/12/2015Actions
Copied to Ceph - Backport #12883: cache agent is idle although one object is left in the cacheResolvedLoïc Dachary08/12/2015Actions
Actions

Also available in: Atom PDF