lib/mergeset: run go fmt after bace9a2501

This commit is contained in:
Aliaksandr Valialkin 2024-02-23 00:53:28 +02:00
parent bace9a2501
commit 5934002b57
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -203,7 +203,7 @@ func (riss *rawItemsShards) addIbsToFlush(tb *Table, ibsToFlush []*inmemoryBlock
riss.updateFlushDeadline() riss.updateFlushDeadline()
} }
riss.ibsToFlush = append(riss.ibsToFlush, ibsToFlush...) riss.ibsToFlush = append(riss.ibsToFlush, ibsToFlush...)
if len(riss.ibsToFlush) >= maxBlocksPerShard * cgroup.AvailableCPUs() { if len(riss.ibsToFlush) >= maxBlocksPerShard*cgroup.AvailableCPUs() {
ibsToMerge = ibsToFlush ibsToMerge = ibsToFlush
riss.ibsToFlush = nil riss.ibsToFlush = nil
} }