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(shell): set LastLocalSyncTsNs in remote.copy.local so remote.uncache works (#8604)
Chris Lub79965035785
diff --git a/weed/shell/command_remote_copy_local.go b/weed/shell/command_remote_copy_local.goindex 4696bf9f2d..4d5495856f 100644--- a/weed/shell/command_remote_copy_local.go+++ b/weed/shell/command_remote_copy_local.go@@ -8,6 +8,7 @@ import ("strings""sync""sync/atomic"+ "time""github.com/seaweedfs/seaweedfs/weed/filer""github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"@@ -253,6 +254,7 @@ func syncFileToRemote(commandEnv *CommandEnv, remoteStorage remote_storage.Remotctx := context.Background()// Update local entry with remote information+ remoteEntry.LastLocalSyncTsNs = time.Now().UnixNano()localEntry.RemoteEntry = remoteEntry// Update the entry