mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 06:23:36 +08:00
filer: bootstrap from peer filer
fix https://github.com/chrislusf/seaweedfs/issues/1861
This commit is contained in:
@@ -71,6 +71,7 @@ func (ma *MetaAggregator) subscribeToOneFiler(f *Filer, self string, peer string
|
||||
|
||||
// when filer store is not shared by multiple filers
|
||||
if peerSignature != f.Signature {
|
||||
lastTsNs = 0
|
||||
if prevTsNs, err := ma.readOffset(f, peer, peerSignature); err == nil {
|
||||
lastTsNs = prevTsNs
|
||||
}
|
||||
|
Reference in New Issue
Block a user