Browse Source

add verbose message

pull/2274/head
Chris Lu 3 years ago
parent
commit
333cdce485
  1. 3
      weed/shell/command_volume_fsck.go

3
weed/shell/command_volume_fsck.go

@ -313,6 +313,9 @@ func (c *commandVolumeFsck) collectFilerFileIds(tempFolder string, volumeIdToSer
}, func(entry *filer_pb.FullEntry, outputChan chan interface{}) (err error) {
dChunks, mChunks, resolveErr := filer.ResolveChunkManifest(filer.LookupFn(c.env), entry.Entry.Chunks, 0, math.MaxInt64)
if resolveErr != nil {
if verbose {
fmt.Fprintf(writer, "resolving manifest chunks in %s: %v\n", util.NewFullPath(entry.Dir, entry.Entry.Name), resolveErr)
}
return nil
}
dChunks = append(dChunks, mChunks...)

Loading…
Cancel
Save