]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: nonprimary shards are permitted to have a crt newer than head
authorAlex Ainscow <aainscow@uk.ibm.com>
Tue, 29 Apr 2025 10:59:24 +0000 (11:59 +0100)
committerLaura Flores <lflores@ibm.com>
Wed, 9 Jul 2025 15:47:24 +0000 (15:47 +0000)
commite5c27bd2acb551bc789d52f998879b2fbb2bbdfb
treec5181639621040be20b0b90d1452e3b6e71ada3d
parent907b4b148c0f961235846afd0cf362eaa09ad13f
osd: nonprimary shards are permitted to have a crt newer than head

Non-primary shards do not get updates for some transactions.  It is possible
however for other transactions to increase the can_rollback_to to a later
version.  This causes an assert for some operations.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit 6209c8cdf980f261c60073d4535d745f24538a7d)
src/osd/PGLog.h
src/osd/PeeringState.cc
src/tools/ceph_objectstore_tool.cc