mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 20:06:19 +08:00
avoid fix missing of deleted needles (#3909)
This commit is contained in:

committed by
GitHub

parent
51d462f204
commit
c6f2899375
@@ -146,7 +146,7 @@ func (c *commandVolumeCheckDisk) doVolumeCheckDisk(minuend, subtrahend *needle_m
|
||||
var counter int
|
||||
minuend.AscendingVisit(func(value needle_map.NeedleValue) error {
|
||||
counter++
|
||||
if _, found := subtrahend.Get(value.Key); !found {
|
||||
if _, found := subtrahend.Get(value.Key); !found && value.Size.IsValid() {
|
||||
missingNeedles = append(missingNeedles, value)
|
||||
}
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user