]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
squid: mds/quiesce-db: track db epoch separately from the membership epoch
authorLeonid Usov <leonid.usov@ibm.com>
Mon, 13 May 2024 21:10:04 +0000 (00:10 +0300)
committerLeonid Usov <leonid.usov@ibm.com>
Tue, 28 May 2024 16:06:19 +0000 (19:06 +0300)
commitfd766f27f39819ea6ce2e780f2b5b68dd84cf40b
tree5a88b420a14d52194340ecd6ca952862af0341ec
parent45dd90c76cf407c899608bd85028d3323aced57d
squid: mds/quiesce-db: track db epoch separately from the membership epoch

Tracking the db epoch separately will make sure that replicas
only follow leader's epoch choice, even if they are already on
the new membership epoch. This eliminates races due to the
random order of mdsmap updates.

Fixes: https://tracker.ceph.com/issues/65977
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 379ef7196b61142dc7753992f897ad91b37f048f)
Fixes: https://tracker.ceph.com/issues/66070
src/mds/QuiesceDbManager.cc
src/mds/QuiesceDbManager.h