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
reset local file content if remote file is updated
chrislue1b92bc70145
diff --git a/weed/shell/command_remote_mount.go b/weed/shell/command_remote_mount.goindex 00f783b492..9dffd10eb3 100644--- a/weed/shell/command_remote_mount.go+++ b/weed/shell/command_remote_mount.go@@ -182,6 +182,9 @@ func doSaveRemoteEntry(client filer_pb.SeaweedFilerClient, localDir string, exisexistingEntry.RemoteEntry = remoteEntryexistingEntry.Attributes.FileSize = uint64(remoteEntry.RemoteSize)existingEntry.Attributes.Mtime = remoteEntry.RemoteMtime+ existingEntry.Attributes.Md5 = nil+ existingEntry.Chunks = nil+ existingEntry.Content = nil_, updateErr := client.UpdateEntry(context.Background(), &filer_pb.UpdateEntryRequest{Directory: localDir,Entry: existingEntry,