]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Robust notify invalidates on cache timeout 42346/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:15:42 +0000 (18:15 -0400)
commit930ab185c7876ed5193561b8183d09ac6e9f257d
treed74a7464ca4ee02fc1102a973f7c8cae10373bf9
parentefd1b82e8db76c7e2f8d9bace71371677b9f99c4
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
     - Skip the renaming, since this is a backport and that's mostly a
       matter of futureproofing.

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