filer.backup and filer.sync: include headers during backup and sync

fix https://github.com/seaweedfs/seaweedfs/issues/3532
This commit is contained in:
chrislu 2022-09-04 18:26:36 -07:00
parent a28b668647
commit cb6cf331ca

View file

@ -133,6 +133,7 @@ func (fs *FilerSink) CreateEntry(key string, entry *filer_pb.Entry, signatures [
Name: name, Name: name,
IsDirectory: entry.IsDirectory, IsDirectory: entry.IsDirectory,
Attributes: entry.Attributes, Attributes: entry.Attributes,
Extended: entry.Extended,
Chunks: replicatedChunks, Chunks: replicatedChunks,
Content: entry.Content, Content: entry.Content,
RemoteEntry: entry.RemoteEntry, RemoteEntry: entry.RemoteEntry,