mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 11:23:35 +08:00
Avoid synchronizing from scratch due to err
This commit is contained in:
@@ -100,7 +100,8 @@ func (ma *MetaAggregator) loopSubscribeToOnefiler(f *Filer, self pb.ServerAddres
|
|||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.V(0).Infof("subscribing remote %s meta change: %v", peer, err)
|
glog.V(0).Infof("subscribing remote %s meta change: %v", peer, err)
|
||||||
} else if lastTsNs < nextLastTsNs {
|
}
|
||||||
|
if lastTsNs < nextLastTsNs {
|
||||||
lastTsNs = nextLastTsNs
|
lastTsNs = nextLastTsNs
|
||||||
}
|
}
|
||||||
time.Sleep(1733 * time.Millisecond)
|
time.Sleep(1733 * time.Millisecond)
|
||||||
|
Reference in New Issue
Block a user