]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
RGW: Check all shards for user manifest parts 37734/head
authorMatthew Oliver <moliver@suse.com>
Wed, 21 Oct 2020 06:14:40 +0000 (06:14 +0000)
committerMatthew Oliver <moliver@suse.com>
Wed, 21 Oct 2020 23:51:40 +0000 (23:51 +0000)
commite0d67a1835d55ab0a24b420a662be7c31c44da04
tree07f0acf972ac480d850e961476d758842a115833
parentaf4d035d3ccb31861b3b93d3d1cdffa684eb0f02
RGW: Check all shards for user manifest parts

When we go and read an user manifest LO (or a DLO in the swift api)
there is a bug where we supply a defaulted params object that defaults
shard_id to 0. This means that when issueing a GET to the LO it'll only
check shard 0 for parts.

This is causing errors in tempest tests, and is obviously wrong.

This patch defaults the ListParams.shard_id to -1, so by default
all shards are checked for parts and therefore complete LO's
are returned.

Fixes: https://tracker.ceph.com/issues/47801
Fixes: https://tracker.ceph.com/issues/47800
Signed-off-by: Matthew Oliver <moliver@suse.com>
src/rgw/rgw_sal.h