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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix bug with remote.uncache
Chris Lu02f728cb54c9
diff --git a/weed/shell/command_remote_uncache.go b/weed/shell/command_remote_uncache.goindex 7fc70b7a3f..64cc1472c1 100644--- a/weed/shell/command_remote_uncache.go+++ b/weed/shell/command_remote_uncache.go@@ -52,7 +52,7 @@ func (c *commandRemoteUncache) Do(args []string, commandEnv *CommandEnv, writer}var localMountedDir string- for k, _ := range mappings.Mappings {+ for k := range mappings.Mappings {if strings.HasPrefix(*dir, k) {localMountedDir = k}@@ -78,6 +78,7 @@ func (c *commandRemoteUncache) uncacheContentData(commandEnv *CommandEnv, writerreturn true // true means recursive traversal should continue}entry.RemoteEntry.LocalMtime = 0+ entry.Chunks = nilprintln(dir, entry.Name)