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

Single active update puller #7909

Merged
merged 1 commit into from Sep 12, 2016

Conversation

MishaDemianenko
Copy link
Contributor

@MishaDemianenko MishaDemianenko commented Sep 9, 2016

After introduction of detached state components lifecycle was change in a way that now it's possible to start new set of components while you still have old one active.
For case of update puller it mean that for some time we will have 2 update pullers active and they will try to apply transactions concurrently.
That is incorrect and causing errors during transactions apply phase.
This commit introduce new phase in component switch lifecycle, just after old component shutdown. And we will use this phase to start new update puller

@pair-with @lutovich

changelog: Update ha component lifecycle to make sure we have only one active update puller on slaves

After introduction of detached state components lifecycle was change in a way that now it's possible to start new set of components while you still have old one active.
For case of update puller it mean that for some time we will have 2 update pullers active and they will try to apply transactions concurrently.
That is incorrect and causing errors during transactions apply phase.
This commit introduce new phase in component switch lifecycle, just after old component shutdown. And we will use this phase to start new update puller

@pair-with @lutovich
@MishaDemianenko
Copy link
Contributor Author

@digitalstain can you please take a look, thx

@digitalstain digitalstain self-assigned this Sep 12, 2016
@MishaDemianenko MishaDemianenko merged commit 6eabd27 into neo4j:3.0 Sep 12, 2016
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.

None yet

2 participants