Re: Manual bucket resharding problem

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

 



Try to look at `radosgw-admin reshard stale-instances list` command. And if list is not empty just rm this stale reshard and then start reshard process again.


k

Sent from my iPhone

> On 22 Nov 2020, at 15:35, Mateusz Skała <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>
> 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>
>>> 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
>>> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>>> 
>> 
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to 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