]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Refuse to commit/rollforward beyond end of log.
authorAlex Ainscow <aainscow@uk.ibm.com>
Tue, 13 May 2025 11:55:14 +0000 (12:55 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 25 Jun 2025 22:36:40 +0000 (23:36 +0100)
commit912437d47053f92086261e285462ac5b4d8d749a
tree44a582320d7747adb743244849c9ba45f2469743
parent2467406f3e22c0746ce20cd04b838dccedadf055
osd: Refuse to commit/rollforward beyond end of log.

In optimised EC, if transaction is applied to all shards, followed by a
partial transaction AND these two transactions overlap, then it is
possible for the non-primary shards to commit a version which is after
then end of the log.

This commit changes the apply_log such that the commit version will be
changed to the head of the log in such situations.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
src/osd/PeeringState.cc