]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
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>
Mon, 13 May 2024 23:36:33 +0000 (02:36 +0300)
commit379ef7196b61142dc7753992f897ad91b37f048f
treedb24ee87e71427812ea05b94e761432b9eccab6d
parentf58f63c4aecc867dfe4fd68f04629e8e45f3e864
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>
src/mds/QuiesceDbManager.cc
src/mds/QuiesceDbManager.h