From 2b01f49e6304e9d2d103c32806569cc3dd2a5038 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Thu, 17 Mar 2016 15:36:41 -0700 Subject: [PATCH] rgw: don't return error if can't find data sync status In that case, the default sync status is the one that will be used. Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_sync.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_sync.cc b/src/rgw/rgw_sync.cc index bb3a1ac6501..1269e55edf2 100644 --- a/src/rgw/rgw_sync.cc +++ b/src/rgw/rgw_sync.cc @@ -712,7 +712,7 @@ public: int RGWReadSyncStatusCoroutine::handle_data(rgw_meta_sync_info& data) { if (retcode == -ENOENT) { - return retcode; + return 0; } RGWRados *store = sync_env->store;