From cd6f9ca832953a13ef98e07606b8eff6d2cfac4a Mon Sep 17 00:00:00 2001 From: Zhang Shaowen Date: Fri, 8 Dec 2017 14:32:04 +0800 Subject: [PATCH] rgw: lease_cr->go_down is called twice, remove the needless one. Signed-off-by: Zhang Shaowen --- src/rgw/rgw_data_sync.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index 6d3f01d40ebe8..800b9db4b3c0e 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -1298,7 +1298,6 @@ public: } if (retcode < 0) { tn->log(0, SSTR("ERROR: failed to set sync marker: retcode=" << retcode)); - lease_cr->go_down(); return set_cr_error(retcode); } } -- 2.39.5