Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

skip error if conf file is not created

chrislu11e53dd8efee
diff --git a/weed/mount/filer_conf.go b/weed/mount/filer_conf.go
index ef85080239..8b7d10dbc0 100644
--- a/weed/mount/filer_conf.go
+++ b/weed/mount/filer_conf.go
@@ -1,6 +1,7 @@
package mount
import (
+ "errors"
"fmt"
"path/filepath"
"sync/atomic"
@@ -38,7 +39,11 @@ func (wfs *WFS) subscribeFilerConfEvents() (func(), error) {
return nil
})
if err != nil {
- return nil, err
+ if errors.Is(err, filer_pb.ErrNotFound) {
+ glog.V(0).Infof("fuse filer conf %s not found", confFullName)
+ } else {
+ return nil, err
+ }
}
processEventFn := func(resp *filer_pb.SubscribeMetadataResponse) error {