mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: remove unused atomicSetBool function after 717c53af27
This commit is contained in:
parent
89a5e27216
commit
223ef96198
1 changed files with 0 additions and 8 deletions
|
@ -1180,14 +1180,6 @@ func (pt *partition) releasePartsToMerge(pws []*partWrapper) {
|
|||
|
||||
var errNothingToMerge = fmt.Errorf("nothing to merge")
|
||||
|
||||
func atomicSetBool(p *uint64, b bool) {
|
||||
v := uint64(0)
|
||||
if b {
|
||||
v = 1
|
||||
}
|
||||
atomic.StoreUint64(p, v)
|
||||
}
|
||||
|
||||
func (pt *partition) runFinalDedup() error {
|
||||
requiredDedupInterval, actualDedupInterval := pt.getRequiredDedupInterval()
|
||||
t := time.Now()
|
||||
|
|
Loading…
Reference in a new issue