Open btromanova opened 8 years ago
Similar logic in go: https://github.com/uber/ringpop-go/blob/dev/ringpop.go#L509
Versions will still be not in sync in emitting events after this change, because node version emits ringServerAdded events on hashring.addServer (same for remove) and go version emits RingChangedEvent. But I think it's a separate issue and can be fixed later.
LGTM, can you add tests for this though?
Looks good!
Stat is emitted on ringChange in go-version, need to keep node version in-sync.