New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: fix lc list failure when shards not be all created #15025

Merged
merged 1 commit into from May 19, 2017

Conversation

Projects
None yet
4 participants
@mikulely
Contributor

mikulely commented May 10, 2017

Default lc shard is 32, if we had created few lc config,that all been
sharded to lc.31, then radosgw-admin lc list failed by can't find
lc.0.

Fixes: http://tracker.ceph.com/issues/19898

Signed-off-by: Jiaying Ren jiaying.ren@umcloud.com

return ret;
if (ret < 0) {
if (ret == -ENOENT) {
dout(0) << __func__ << " ignoring unfound lc object=" << obj_names[index] << dendl;

This comment has been minimized.

@dang

dang May 10, 2017

Contributor

0 is for critical errors. I'd say probably 10.

@mikulely

This comment has been minimized.

Contributor

mikulely commented May 11, 2017

@dang followed your suggestion, thx.

rgw: fix lc list failure when shards not be all created
Default lc shard is 32, if we had created few lc config,that all been
sharded to lc.31, then `radosgw-admin lc list` failed by can't find
lc.0.

Fixes: http://tracker.ceph.com/issues/19898

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
@dang

dang approved these changes May 12, 2017

@cbodley

This comment has been minimized.

@cbodley cbodley merged commit 97486e6 into ceph:master May 19, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@mikulely mikulely deleted the mikulely:jiaying-fix-lc-list branch May 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment