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
minor
Chris Lu7f2a8246a94c
diff --git a/weed/command/filer_remote_sync.go b/weed/command/filer_remote_sync.goindex 1312a10458..33926b7201 100644--- a/weed/command/filer_remote_sync.go+++ b/weed/command/filer_remote_sync.go@@ -105,8 +105,6 @@ func followUpdatesAndUploadToRemote(option *RemoteSyncOptions, filerSource *sourreturn fmt.Errorf("read mount info: %v", detectErr)}- lastOffsetTs := collectLastSyncOffset(option, mountedDir)-eachEntryFunc, err := makeEventProcessor(remoteStorage, mountedDir, remoteStorageMountLocation, filerSource)if err != nil {return err@@ -118,6 +116,8 @@ func followUpdatesAndUploadToRemote(option *RemoteSyncOptions, filerSource *sourreturn remote_storage.SetSyncOffset(option.grpcDialOption, *option.filerAddress, mountedDir, lastTsNs)})+ lastOffsetTs := collectLastSyncOffset(option, mountedDir)+return pb.FollowMetadata(*option.filerAddress, option.grpcDialOption, "filer.remote.sync",mountedDir, []string{filer.DirectoryEtcRemote}, lastOffsetTs.UnixNano(), 0, processEventFnWithOffset, false)}