Description
TotalCompactions() takes the maximum compaction count across iterations. If compactions is a running counter, max is correct but the name is misleading. If per-iteration, the result is wrong.
Fix
Rename to MaxCompactions() or document the semantics.
Location
internal/trace/metrics.go:47-54
Description
TotalCompactions()takes the maximum compaction count across iterations. If compactions is a running counter, max is correct but the name is misleading. If per-iteration, the result is wrong.Fix
Rename to
MaxCompactions()or document the semantics.Location
internal/trace/metrics.go:47-54