mirror of
https://github.com/ceph/ceph
synced 2024-12-18 09:25:49 +00:00
Merge pull request #15010 from shashalu/fix-bucket-create
rgw: when create_bucket use the same num_shards with info.num_shards Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
84fb0cd505
@ -5452,7 +5452,7 @@ int RGWRados::create_bucket(RGWUserInfo& owner, rgw_bucket& bucket,
|
||||
info.quota = *pquota_info;
|
||||
}
|
||||
|
||||
int r = init_bucket_index(info, bucket_index_max_shards);
|
||||
int r = init_bucket_index(info, info.num_shards);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user