Re: rgw multisite octopus - bucket can not be resharded after cancelling prior reshard process

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

 



Opened a bug on the tracker for it: https://tracker.ceph.com/issues/57919

Am Fr., 7. Okt. 2022 um 11:30 Uhr schrieb Boris Behrens <bb@xxxxxxxxx>:

> Hi,
> I just wanted to reshard a bucket but mistyped the amount of shards. In a
> reflex I hit ctrl-c and waited. It looked like the resharding did not
> finish so I canceled it, and now the bucket is in this state.
> How can I fix it. It does not show up in the stale-instace list. It's also
> a multisite environment (we only sync metadata).
>
> $ radosgw-admin reshard status --bucket bucket
> [
>     {
>         "reshard_status": "not-resharding",
>         "new_bucket_instance_id": "",
>         "num_shards": -1
>     }
> ]
>
> $ radosgw-admin bucket stats --bucket bucket
> {
>     "bucket": "bucket",
>     *"num_shards": 0,*
> ...
>     *"id": "ff7a8b0c-07e6-463a-861b-78f0adeba8ad.2296333939.14",*
>     "marker": "ff7a8b0c-07e6-463a-861b-78f0adeba8ad.2296333939.14",
> ...
> }
>
> $ radosgw-admin metadata get
> bucket.instance:bucket:ff7a8b0c-07e6-463a-861b-78f0adeba8ad.2368407345.1
> {
>     "key":
> "bucket.instance:bucket:ff7a8b0c-07e6-463a-861b-78f0adeba8ad.2368407345.1",
>     "ver": {
>         "tag": "QndcbsKPFDjs6rYKKDHde9bM",
>         "ver": 2
>     },
>     "mtime": "2022-10-07T07:16:49.231685Z",
>     "data": {
>         "bucket_info": {
>             "bucket": {
>                 "name": "bucket",
>                 "marker":
> "ff7a8b0c-07e6-463a-861b-78f0adeba8ad.2296333939.14",
>                 *"bucket_id":
> "ff7a8b0c-07e6-463a-861b-78f0adeba8ad.2368407345.1",*
> ...
>             },
> ...
>             *"num_shards": 211,*
> ...
>         },
> }
>
>
> Cheers
>  Boris
>


-- 
Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im
groüen Saal.
_______________________________________________
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