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.

fix compilation

Chris Ludd29b8c81df9
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go
index f4bf0eadd4..e416930487 100644
--- a/weed/filesys/wfs.go
+++ b/weed/filesys/wfs.go
@@ -64,7 +64,6 @@ type WFS struct {
stats statsCache
root fs.Node
- fsNodeCache *FsCache
chunkCache *chunk_cache.ChunkCache
metaCache *meta_cache.MetaCache
@@ -102,7 +101,6 @@ func NewSeaweedFileSystem(option *Option) *WFS {
})
wfs.root = &Dir{name: wfs.option.FilerMountRootPath, wfs: wfs}
- // wfs.fsNodeCache = newFsCache(wfs.root)
return wfs
}