Project

General

Profile

Actions

Bug #52877

closed

rgw-multisite: Dynamic resharding fails to take effect, even when rgw_max_objs_per_shard value is reached.

Added by Vidushi Mishra over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
multisite-reshard
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On a multi-site cluster, dynamic resharding fails to take effect, even when the rgw_max_objs_per_shard value is reached.

ceph version:
ceph version 17.0.0-8051-g15b54dc9 (15b54dc9eaa835e95809e32e8ddf109d416320c9) quincy (dev)

steps:
1. create a realm "data" and set it as the default
2. create zonegroup "us" for realm "data" and set it as master and default.
3. create master zone "east" and set the zone as the master.
4. Now create few buckets and put objects.
5. Set the rgw_max_objs_per_shard = 100 and restart all the rgws for the tuning to take effect.
6. Create 2 buckets [tx/ss-bkt-v1 and tx/ss-bkt-v3] and upload more than 2K objects on each bucket.
7. We observed that since rgw_max_objs_per_shard = 100, the buckets got resharded to 41 and 29 shards respectively.
8. Now establish a multisite by performing realm pull and period pull
9. Create the slave zone "west" and wait for the sync to complete.
10.Ensure the rgw_max_objs_per_shard = 100 on both the sites, master and the slave.
11.Create 2 more buckets "tx/ms-bkt-v1" and "elizabethd.615-bucky-488-0" and upload 2171 and 12002 objects respectively.
12. Dynamic resharding does not take effect on both sites.

Actions

Also available in: Atom PDF