From: Casey Bodley Date: Tue, 31 Mar 2020 13:22:43 +0000 (-0400) Subject: rgw: don't write to error repo for async notification failures X-Git-Tag: v16.1.0~2586^2~26 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=af2114a69b85b0cfdeb69c4c470abbec3eb50758;p=ceph.git rgw: don't write to error repo for async notification failures async notifications are just hints, and don't imply an obligation to sync the bucket shard. if we fail to sync, don't write it to the error repo for retry. we'll see the change later when processing the datalog Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index 94ad51545361..64c6710d9bf1 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -1658,7 +1658,7 @@ public: for (modified_iter = current_modified.begin(); modified_iter != current_modified.end(); ++modified_iter) { yield { tn->log(20, SSTR("received async update notification: " << *modified_iter)); - spawn(new RGWDataSyncSingleEntryCR(sc, *modified_iter, string(), marker_tracker, error_repo, false, tn), false); + spawn(new RGWDataSyncSingleEntryCR(sc, *modified_iter, string(), marker_tracker, nullptr, false, tn), false); } }