Project

General

Profile

Bug #21245

target_max_bytes doesn't limit a tiering pool

Added by Petr Malkov about 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
09/05/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

tiered pool is limited to 2,5GB
ceph osd pool set default.rgw.buckets.data target_max_bytes 2511627776

after uploading data to tiered pool, it shows its volume greater then target_max_bytes

ceph df
default.rgw.buckets.data 6 9241M 0.02 42220G 2568
default.rgw.ISA.buckets.data 7 34952M 0.08 42220G 8742

health: HEALTH_WARN
1 cache pools at or near target size

and no evicting happens
ceph osd pool set default.rgw.buckets.data cache_target_dirty_ratio 0.4
ceph osd pool set default.rgw.buckets.data cache_target_full_ratio 0.8

Also available in: Atom PDF