mount: report filer IO error

related to https://github.com/chrislusf/seaweedfs/issues/1530
This commit is contained in:
Chris Lu committed 2020-10-13 11:21:13 -07:00
1 parent 3f7d1d1bf1
commit 9b4f7fed14
4 files changed
+34 -13

No files matched your search

+2 -2
View File
@@ -10,9 +10,9 @@ import (
"github.com/chrislusf/seaweedfs/weed/util"
)
func EnsureVisited(mc *MetaCache, client filer_pb.FilerClient, dirPath util.FullPath) {
func EnsureVisited(mc *MetaCache, client filer_pb.FilerClient, dirPath util.FullPath) error {
mc.visitedBoundary.EnsureVisited(dirPath, func(path util.FullPath) (childDirectories []string, err error) {
return mc.visitedBoundary.EnsureVisited(dirPath, func(path util.FullPath) (childDirectories []string, err error) {
glog.V(4).Infof("ReadDirAllEntries %s ...", path)