aboutsummaryrefslogtreecommitdiff
path: root/weed/replication
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-10-28 12:53:19 -0700
committerchrislu <chris.lu@gmail.com>2022-10-28 12:53:19 -0700
commitea2637734a13a08d11d4f26e80c1324664bf7ffc (patch)
tree6708b9a0d07a0518a6fdf151d59bf3fc46053430 /weed/replication
parent1e0d64c04883a8d7b09677e9721f9e189743e2f3 (diff)
downloadseaweedfs-ea2637734a13a08d11d4f26e80c1324664bf7ffc.tar.xz
seaweedfs-ea2637734a13a08d11d4f26e80c1324664bf7ffc.zip
refactor filer proto chunk variable from mtime to modified_ts_ns
Diffstat (limited to 'weed/replication')
-rw-r--r--weed/replication/sink/filersink/fetch_write.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/replication/sink/filersink/fetch_write.go b/weed/replication/sink/filersink/fetch_write.go
index 2acad9e63..cd961f147 100644
--- a/weed/replication/sink/filersink/fetch_write.go
+++ b/weed/replication/sink/filersink/fetch_write.go
@@ -51,7 +51,7 @@ func (fs *FilerSink) replicateOneChunk(sourceChunk *filer_pb.FileChunk, path str
FileId: fileId,
Offset: sourceChunk.Offset,
Size: sourceChunk.Size,
- Mtime: sourceChunk.Mtime,
+ ModifiedTsNs: sourceChunk.ModifiedTsNs,
ETag: sourceChunk.ETag,
SourceFileId: sourceChunk.GetFileIdString(),
CipherKey: sourceChunk.CipherKey,