Re: Manual bucket resharding problem
Hi. Thank You, I will try this solution probably on Sunday. Will write results here. Regards Mateusz Skała
Wiadomość napisana przez Amit Ghadge <amitg.b14@gmail.com> w dniu 24.11.2020, o godz. 11:12:
Sorry for delay reply, I never tried on production but after revert the changes I can able to reshard again You get same bucket two entries from metadata, radosgw-admin metadata list bucket.instance | grep bucket You now the older bucket entry then update those two parameter first, radosgw-admin metadata get bucket.instance:bucket:<id> > bucket.json Set reshard_status to 0 and new_bucket_instance_id to "" Update bucket instance by, radosgw-admin metadata put bucket.instance:bucket:<id> < bucket.json
On Sun, Nov 22, 2020 at 6:04 PM Mateusz Skała <mateusz.skala@gmail.com <mailto:mateusz.skala@gmail.com>> wrote: Thank You for response, how I can upload this to metadata? Is this operation safe? Regards Mateusz Skała
W dniu sob., 21.11.2020 o 18:01 Amit Ghadge <amitg.b14@gmail.com <mailto:amitg.b14@gmail.com>> napisał(a): I go through this and you need to update bucket metadata, radosgw-admin metadata get bucket.instance:bucket:xxx > bucket.json, update two parameter I don't remember but it's look reshard: false and next_marker set empty.
-AmitG On Sat, 21 Nov, 2020, 2:04 PM Mateusz Skała, <mateusz.skala@gmail.com <mailto:mateusz.skala@gmail.com>> wrote: Hello Community. I need Your help. Few days ago I started manual resharding of one bucket with large objects. Unfortunately I interrupted this by Ctrl+c. At now I can’t start this process again. There is message: # radosgw-admin bucket reshard --bucket objects --num-shards 2 ERROR: the bucket is currently undergoing resharding and cannot be added to the reshard list at this time
But list of reshard process is empty: # radosgw-admin reshard list []
# radosgw-admin reshard status --bucket objects [ { "reshard_status": "not-resharding", "new_bucket_instance_id": "", "num_shards": -1 } ]
How can I fix this situation ? How to restore possibility resharding this bucket? And BTW is resharding process locking writes/reads on bucket? Regards Mateusz Skała _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io <mailto:ceph-users@ceph.io> To unsubscribe send an email to ceph-users-leave@ceph.io <mailto:ceph-users-leave@ceph.io>
participants (1)
-
Mateusz Skała