Bug #20841
number of shards for a bucket scheduled for dynamic bucket resharding is not as the expected.
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
For a bucket having say 20K objects and rgw_max_objs_per_shard = 1000, the shards counted is expected to be 32. Instead it is listed as 40 as in the "radosgw-admin metadata get bucket.instance:<bucket_name>:<bucket_id>.
History
#1 Updated by Orit Wasserman over 6 years ago
Hi,
Could your describe the scenario?
Could you attach the radosgw logs?
#2 Updated by Orit Wasserman over 6 years ago
- Assignee set to Orit Wasserman
#3 Updated by Sage Weil over 6 years ago
- Priority changed from Normal to Immediate
#4 Updated by Orit Wasserman over 6 years ago
- Priority changed from Immediate to Normal
#5 Updated by Orit Wasserman over 6 years ago
40 is the correct number of shards.
we set the new number of shards to be:
(bucket_stats.num_objs + new_obj_number) *2 / max_obj_per_shard
#6 Updated by Orit Wasserman over 6 years ago
- Status changed from New to Closed