diff --git a/replica/logstor/compaction.hh b/replica/logstor/compaction.hh index a3884c6e46..539c0f5228 100644 --- a/replica/logstor/compaction.hh +++ b/replica/logstor/compaction.hh @@ -69,6 +69,13 @@ struct segment_descriptor : public log_heap_hook +size_t hist_key(const replica::logstor::segment_descriptor& desc); + +namespace replica::logstor { + using segment_descriptor_hist = log_heap; struct segment_set {