]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/seastore: fix assert in read_extent
authorchunmei-liu <chunmei.liu@intel.com>
Tue, 1 Jun 2021 05:54:55 +0000 (22:54 -0700)
committerchunmei-liu <chunmei.liu@intel.com>
Tue, 1 Jun 2021 05:59:31 +0000 (22:59 -0700)
commitb127fa3cdd405c71cf09875f61f107c23af6b8cf
tree9432f5521e4bb7923a86ab40f1b8fc128d2dfdaa
parent731f4f70ee58a5df63e1a7f46540005d1e7206f8
crimson/seastore: fix assert in read_extent

lba btree root leaf is empty after osd reboot, because SegmentStateTracker's states are wrong.
and that is caused by tracker->do_write not finished then seastore closed.

in transaction manager read_extent, can't read extent.
ceph_assert(0 == "Should be impossible");

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
src/crimson/os/seastore/segment_manager/block.cc