mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 06:50:40 +02:00
avoid fix missing of deleted needles (#3909)
This commit is contained in:
1 parent
51d462f204
commit
c6f2899375
1 file changed
+1
-1
@@ -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