]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix _extend_log seq advance
authorPere Diaz Bou <pdiabou@redhat.com>
Fri, 29 Sep 2023 11:17:03 +0000 (13:17 +0200)
committerYuri Weinstein <yweinste@redhat.com>
Wed, 30 Apr 2025 17:53:04 +0000 (17:53 +0000)
commit4bb7b63f8a4329919e61b856da88c14180f99e35
tree0e2b0916bf0575634b4cab3235238977e1e6326a
parentf398d7a114bffc240e92af5cf2eb1cc3ead33896
os/bluestore: fix _extend_log seq advance

when extending the log, the sequence was left on a bad state because it would first create a transaction to update with the current seq number but leave the "real" transaction with the same sequence number which should be `extend_log_transaction.seq + 1`.

Signed-off-by: Pere Diaz Bou <pdiabou@redhat.com>
(cherry picked from commit 63f0a0df14c9d8e68be61e374438bc75cef45a1f)

Fixes: https://tracker.ceph.com/issues/69764
(cherry picked from commit 0210f57a5ec8a8c0ea76a72984f39dae24986cb0)
src/os/bluestore/BlueFS.cc