Replicator.synchronize() appears to rely on LocalStore.put(Entry) implementing the semantic that putting an Entry that is older than what is already in the store has no effect. InMemoryStore implements this semantic, but I cannot find where PersistentStore implements this.
So it looks to me like discovery will happily replace a static announcement with an older version it replicates from another server.
Replicator.synchronize()
appears to rely onLocalStore.put(Entry)
implementing the semantic that putting an Entry that is older than what is already in the store has no effect.InMemoryStore
implements this semantic, but I cannot find wherePersistentStore
implements this.So it looks to me like discovery will happily replace a static announcement with an older version it replicates from another server.