mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
avoid fix missing of deleted needles (#3909)
This commit is contained in:
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
|
||||
|
|
Loading…
Reference in a new issue