@@ -1816,8 +1816,7 @@ func (d *DB) flush1() (bytesFlushed uint64, err error) {
1816
1816
1817
1817
d .clearCompactingState (c , err != nil )
1818
1818
delete (d .mu .compact .inProgress , c )
1819
- d .mu .versions .incrementCompactions (c .kind , c .extraLevels , c .metrics .picker ,
1820
- c .metrics .bytesWritten .Load (), err )
1819
+ d .mu .versions .incrementCompactions (c .kind , c .extraLevels , c .metrics .bytesWritten .Load (), err )
1821
1820
1822
1821
var flushed flushableList
1823
1822
if err == nil {
@@ -2726,8 +2725,7 @@ func (d *DB) compact1(jobID JobID, c *tableCompaction) (err error) {
2726
2725
// NB: clearing compacting state must occur before updating the read state;
2727
2726
// L0Sublevels initialization depends on it.
2728
2727
d .clearCompactingState (c , err != nil )
2729
- d .mu .versions .incrementCompactions (c .kind , c .extraLevels , c .metrics .picker ,
2730
- c .metrics .bytesWritten .Load (), err )
2728
+ d .mu .versions .incrementCompactions (c .kind , c .extraLevels , c .metrics .bytesWritten .Load (), err )
2731
2729
d .mu .versions .incrementCompactionBytes (- c .metrics .bytesWritten .Load ())
2732
2730
2733
2731
info .TotalDuration = d .timeNow ().Sub (c .metrics .beganAt )
0 commit comments