Browse Source

filer: bootstrap from peer filer

fix https://github.com/chrislusf/seaweedfs/issues/1861
pull/2078/head
Chris Lu 4 years ago
parent
commit
2d0a0733ec
  1. 1
      weed/filer/meta_aggregator.go

1
weed/filer/meta_aggregator.go

@ -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
}

Loading…
Cancel
Save