]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: prevent spurious/lost notifications in the index completion thread
authorYuval Lifshitz <ylifshit@redhat.com>
Wed, 23 Feb 2022 15:21:10 +0000 (17:21 +0200)
committerCory Snyder <csnyder@1111systems.com>
Wed, 22 Feb 2023 17:46:17 +0000 (12:46 -0500)
commitcd69db3cb2f7bd1183e9284dd8329f2256cd4d2f
tree32235ef83c5f834afe9af5f57f95a6998be991d8
parent3c1738216c068eddf8388380e742f5a847f3bded
rgw: prevent spurious/lost notifications in the index completion thread

this was happening when asyn completions happened during reshard.
more information about testing:
https://gist.github.com/yuvalif/d526c0a3a4c5b245b9e951a6c5a10517

we also add more logs to the completion manager.
should allow finding unhandled completions due to reshards.

Fixes: https://tracker.ceph.com/issues/54435
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit e72b6510a402cbafa6c99475626f15d97fd00f86)

Conflicts:
- src/rgw/rgw_rados.cc

Cherry-pick notes:
- Conflicts within RGWIndexCompletionThread methods, which were removed by this commit
src/rgw/rgw_rados.cc