Skip to content

Commit

Permalink
lsa: Avoid the call to segment_pool::descriptor() in compact()
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrabiec committed May 11, 2018
1 parent 19edf39 commit 8faafda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/logalloc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ class region_impl final : public basic_region_impl {
_segment_descs.pop_one_of_largest();
_closed_occupancy -= desc.occupancy();
segment* seg = shard_segment_pool.segment_from(desc);
llogger.debug("Compacting segment {} from region {}, {}", seg, id(), seg->occupancy());
llogger.debug("Compacting segment {} from region {}, {}", seg, id(), desc.occupancy());
compact(seg, desc);
shard_segment_pool.on_segment_compaction();
}
Expand Down

0 comments on commit 8faafda

Please sign in to comment.