aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/sink
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-11-30 04:34:04 -0800
committerChris Lu <chris.lu@gmail.com>2020-11-30 04:34:04 -0800
commitf4abd01adf9fb2ebdefa844b2a4f0aaf8eeb1ccc (patch)
tree87406670846a99820d7b6bb37dc3d2cf9362a9de /weed/replication/sink
parenta9c6be5fc3fffad6403ce63aa3951121491eb1d1 (diff)
downloadseaweedfs-f4abd01adf9fb2ebdefa844b2a4f0aaf8eeb1ccc.tar.xz
seaweedfs-f4abd01adf9fb2ebdefa844b2a4f0aaf8eeb1ccc.zip
filer: cache small file to filer store
Diffstat (limited to 'weed/replication/sink')
-rw-r--r--weed/replication/sink/filersink/filer_sink.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/replication/sink/filersink/filer_sink.go b/weed/replication/sink/filersink/filer_sink.go
index 6f467ea58..a58c8f296 100644
--- a/weed/replication/sink/filersink/filer_sink.go
+++ b/weed/replication/sink/filersink/filer_sink.go
@@ -112,6 +112,7 @@ func (fs *FilerSink) CreateEntry(key string, entry *filer_pb.Entry, signatures [
IsDirectory: entry.IsDirectory,
Attributes: entry.Attributes,
Chunks: replicatedChunks,
+ Content: entry.Content,
},
IsFromOtherCluster: true,
Signatures: signatures,