airlift / discovery

Discovery Server
54 stars 48 forks source link

Possible static announcement replication issue #18

Open johngmyers opened 11 years ago

johngmyers commented 11 years ago

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.