]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: don't return error if can't find data sync status
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 17 Mar 2016 22:36:41 +0000 (15:36 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 17 Mar 2016 22:36:41 +0000 (15:36 -0700)
In that case, the default sync status is the one that will be used.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_sync.cc

index bb3a1ac6501a04363cfca7b03fd9b3919a24cb21..1269e55edf2fcab7260ba022ea870308576cacc9 100644 (file)
@@ -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;