]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: retry metadata cache notifications with INVALIDATE_OBJ
authorCasey Bodley <cbodley@redhat.com>
Mon, 31 Jul 2023 18:27:36 +0000 (14:27 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 31 Jul 2023 18:27:38 +0000 (14:27 -0400)
we encode the `INVALIDATE_OBJ` response in `retrybl`, but were
accidentally resending the notification with `bl` instead

Fixes: https://tracker.ceph.com/issues/62250
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/services/svc_notify.cc

index ff0080083f12c6b6d9adc75b510965159c6afcfd..b08c17af2dad1ed9a9c799ad0040297b712274fe 100644 (file)
@@ -427,7 +427,7 @@ int RGWSI_Notify::robust_notify(const DoutPrefixProvider *dpp,
       ldpp_dout(dpp, 1) << __PRETTY_FUNCTION__ << ":" << __LINE__
                        << " Invalidating obj=" << info.obj << " tries="
                        << tries << dendl;
-      r = notify_obj.notify(dpp, bl, 0, nullptr, y);
+      r = notify_obj.notify(dpp, retrybl, 0, nullptr, y);
       if (r < 0) {
        ldpp_dout(dpp, 1) << __PRETTY_FUNCTION__ << ":" << __LINE__
                          << " invalidation attempt " << tries << " failed: "