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>
Segment::close_ertr::future<> BlockSegment::close()
{
- manager.segment_close(id);
- return close_ertr::now();
+ return manager.segment_close(id);
}
Segment::write_ertr::future<> BlockSegment::write(