Browse Source

mount: do not mark meta_cache when there is an err

pull/3102/head
Robert Coelho 3 years ago
parent
commit
05602167f4
  1. 3
      weed/mount/meta_cache/meta_cache_init.go

3
weed/mount/meta_cache/meta_cache_init.go

@ -68,8 +68,9 @@ func doEnsureVisited(mc *MetaCache, client filer_pb.FilerClient, path util.FullP
if err != nil {
err = fmt.Errorf("list %s: %v", path, err)
} else {
mc.markCachedFn(path)
}
mc.markCachedFn(path)
return err
}

Loading…
Cancel
Save