Skip to content

Commit 57030a0

Browse files
committed
crimson/osd/shard_services: trim_maps to trim inc_maps
Signed-off-by: Matan Breizman <[email protected]>
1 parent df8666a commit 57030a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/crimson/osd/shard_services.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,7 @@ void OSDSingletonState::trim_maps(ceph::os::Transaction& t,
535535
t.get_num_ops() < crimson::common::local_conf()->osd_target_transaction_size) {
536536
logger().debug("{}: removing old osdmap epoch {}", __func__, superblock.get_oldest_map());
537537
meta_coll->remove_map(t, superblock.get_oldest_map());
538+
meta_coll->remove_inc_map(t, superblock.get_oldest_map());
538539
superblock.maps.erase(superblock.get_oldest_map());
539540
}
540541

0 commit comments

Comments
 (0)