]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd/pg: set PG::projected_last_update when submitting
authorXuehan Xu <xuxuehan@qianxin.com>
Sat, 19 Aug 2023 07:08:20 +0000 (15:08 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Tue, 7 Nov 2023 09:10:55 +0000 (17:10 +0800)
commitcc73ba6d8c01cddc80e4ffd0158af8fde7d2f91d
treea387ea565876548dc30691ea63b9febedd081d66
parent4d482e5dd6b15d27e6381e7dec2f3f3a0864d0cc
crimson/osd/pg: set PG::projected_last_update when submitting
transactions

Otherwise, PG::projected_last_update's epoch is always outdated, which
would cause failure of asserts in the backfilling code

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/osd/ops_executer.cc
src/crimson/osd/osd_operations/snaptrim_event.cc
src/crimson/osd/osd_operations/snaptrim_event.h
src/crimson/osd/pg.cc
src/crimson/osd/pg.h