From: Yehuda Sadeh Date: Thu, 17 Mar 2016 22:36:41 +0000 (-0700) Subject: rgw: don't return error if can't find data sync status X-Git-Tag: v10.1.1~128^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2b01f49e6304e9d2d103c32806569cc3dd2a5038;p=ceph.git 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 --- diff --git a/src/rgw/rgw_sync.cc b/src/rgw/rgw_sync.cc index bb3a1ac6501a..1269e55edf2f 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;