aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-09-04 18:26:36 -0700
committerchrislu <chris.lu@gmail.com>2022-09-04 18:26:36 -0700
commitcb6cf331caa97c664c8f73725b73c16737733981 (patch)
treea24a6ee64fe9bdc33641705bbd81b0612dc57817
parenta28b668647359a77f832d4ec47711b2386daa49b (diff)
downloadseaweedfs-cb6cf331caa97c664c8f73725b73c16737733981.tar.xz
seaweedfs-cb6cf331caa97c664c8f73725b73c16737733981.zip
filer.backup and filer.sync: include headers during backup and sync
fix https://github.com/seaweedfs/seaweedfs/issues/3532
-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 9a795d4ec..265f51b55 100644
--- a/weed/replication/sink/filersink/filer_sink.go
+++ b/weed/replication/sink/filersink/filer_sink.go
@@ -133,6 +133,7 @@ func (fs *FilerSink) CreateEntry(key string, entry *filer_pb.Entry, signatures [
Name: name,
IsDirectory: entry.IsDirectory,
Attributes: entry.Attributes,
+ Extended: entry.Extended,
Chunks: replicatedChunks,
Content: entry.Content,
RemoteEntry: entry.RemoteEntry,