Skip to content
This repository was archived by the owner on Sep 25, 2020. It is now read-only.

Conversation

@btromanova
Copy link
Contributor

Stat is emitted on ringChange in go-version, need to keep node version in-sync.

@btromanova btromanova force-pushed the tr-fix-ringchanged-stats branch from 449af31 to ed22ffc Compare June 7, 2016 10:26
@btromanova
Copy link
Contributor Author

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.

@mennopruijssers
Copy link
Contributor

LGTM, can you add tests for this though?

@CorgiMan
Copy link
Contributor

CorgiMan commented Jun 7, 2016

Looks good!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants