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.

re-ordering

chrisluf5c4b642bb80
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go
index 4582053669..4ac01b3e69 100644
--- a/weed/mount/weedfs.go
+++ b/weed/mount/weedfs.go
@@ -106,8 +106,8 @@ func NewSeaweedFileSystem(option *Option) *WFS {
})
grace.OnInterrupt(func() {
wfs.metaCache.Shutdown()
- os.RemoveAll(option.getUniqueCacheDirForRead())
os.RemoveAll(option.getUniqueCacheDirForWrite())
+ os.RemoveAll(option.getUniqueCacheDirForRead())
})
if wfs.option.ConcurrentWriters > 0 {