From 07056ac1e75bdb08f2287b18ffc0f76a8e73fc0f Mon Sep 17 00:00:00 2001 From: zhangshaowen Date: Fri, 25 Oct 2019 16:47:43 +0800 Subject: [PATCH] rgw: one log shard fails shouldn't block other shards process when reshard buckets Signed-off-by: zhangshaowen --- src/rgw/rgw_reshard.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rgw/rgw_reshard.cc b/src/rgw/rgw_reshard.cc index 4c05001199d7..22d639f325e8 100644 --- a/src/rgw/rgw_reshard.cc +++ b/src/rgw/rgw_reshard.cc @@ -1054,9 +1054,8 @@ int RGWReshard::process_all_logshards() ldout(store->ctx(), 20) << "processing logshard = " << logshard << dendl; ret = process_single_logshard(i); - if (ret <0) { - return ret; - } + + ldout(store->ctx(), 20) << "finish processing logshard = " << logshard << " , ret = " << ret << dendl; } return 0; -- 2.47.3