Re: Manual bucket resharding problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx <mailto:mateusz.skala@xxxxxxxxx>> 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@xxxxxxxxx <mailto:amitg.b14@xxxxxxxxx>> 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@xxxxxxxxx <mailto:mateusz.skala@xxxxxxxxx>> 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@xxxxxxx <mailto:ceph-users@xxxxxxx>
> To unsubscribe send an email to ceph-users-leave@xxxxxxx <mailto:ceph-users-leave@xxxxxxx>

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux