]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Robust notify invalidates on cache timeout 42347/head
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 14 Jul 2021 15:02:21 +0000 (11:02 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 14 Jul 2021 22:22:26 +0000 (18:22 -0400)
commitdb6aae7b14921ae267261c38e061b7ca11d92a88
tree6e17526f7334120d48afb31a9cd8ac66e0982f5f
parent6bab931f053c028d56df12b9a09372b589a68ba1
rgw: Robust notify invalidates on cache timeout

This avoids a potential race condition in which updates are delayed.

Fixes: https://tracker.ceph.com/issues/51674
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 76247990ff38049ee32dd47d31482b9648353673)

Conflicts:
src/rgw/services/svc_notify.cc
 - The original patchset was post-DPP, this branch is pre-DPP
 - Skip the renaming, since this is a backport and that's mostly a
   matter of futureproofing.

Backport: https://tracker.ceph.com/issues/51678
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/services/svc_notify.cc
src/rgw/services/svc_notify.h