Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close #171: Failover support on server side #236

Merged
merged 1 commit into from
Dec 15, 2016

Conversation

mathieucarbou
Copy link
Member

@mathieucarbou mathieucarbou commented Dec 14, 2016

Makes the monitoring service supports failover and detect when entities are transitioning from passive state to active state.
The transition is recorded, and when the new monitoring tree is built and new active entities are created, if this entity was passive before, then a SERVER_ENTITY_FAILOVER_COMPLETED event is sent with the entity context.

It is possible that the TMS does not get these notifications if the tms entity does not reconnect BEFORE the other ones.

WARNING

With passthrough, platform does not send the right events to us after a failover, when client reconnects and when new active entities are created. So there's a lot of notification that I do not have and I cannot assert them because the monitoring tree is not reconstructed as it should be.

I placed some TODO in the project for the tests that needs to be also done ASAP with Galvan (#191)

@mathieucarbou mathieucarbou added this to the BF-4940 milestone Dec 14, 2016
@mathieucarbou mathieucarbou self-assigned this Dec 14, 2016
@mathieucarbou mathieucarbou force-pushed the issue-171 branch 4 times, most recently from 38e9223 to 772d77a Compare December 14, 2016 21:55
@mathieucarbou mathieucarbou changed the title [DO NOT REVIEW/MERGE] Close #171: Failover support on server side Close #171: Failover support on server side Dec 14, 2016
Copy link
Member

@anthonydahanne anthonydahanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - few assertions, but they will be added with Galvan testing work, in #191

@anthonydahanne anthonydahanne merged commit 3cfa6e5 into Terracotta-OSS:master Dec 15, 2016
@mathieucarbou mathieucarbou deleted the issue-171 branch October 5, 2017 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants