Browse Source

chore: hot fix panic fs.verify (#5696)

pull/5701/head
Konstantin Lebedev 6 months ago
committed by GitHub
parent
commit
34165013c8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      weed/shell/command_fs_verify.go

7
weed/shell/command_fs_verify.go

@ -163,9 +163,10 @@ func (c *commandFsVerify) verifyProcessMetadata(path string, wg *sync.WaitGroup)
Directory: message.NewParentPath, Directory: message.NewParentPath,
Name: message.NewEntry.Name, Name: message.NewEntry.Name,
}) })
if strings.HasSuffix(errReq.Error(), "no entry is found in filer store") {
return nil
} else if errReq != nil {
if errReq != nil {
if strings.HasSuffix(errReq.Error(), "no entry is found in filer store") {
return nil
}
return errReq return errReq
} }
if entryResp.Entry.Attributes.Mtime == message.NewEntry.Attributes.Mtime && if entryResp.Entry.Attributes.Mtime == message.NewEntry.Attributes.Mtime &&

Loading…
Cancel
Save