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

ARTEMIS-1966 Replication channel closed but not connection if flow co… #2171

Closed
wants to merge 1 commit into from

Conversation

wy96f
Copy link
Contributor

@wy96f wy96f commented Jul 5, 2018

We use SharedNothing Activation. If flow control occurs during replication, replication channel would be closed and enabled flag is set to false. After it, the message would not be sent to backup node. If live server crashes at this time, the backup node will fail over, resulting in data loss.

So we close connection if flow controlled, then backup node would be signaled failure replicating and restart server.

@wy96f wy96f force-pushed the stop_connection_if_flowcontrolled branch from 0781b1d to 5ad9e2f Compare July 6, 2018 09:54
@clebertsuconic
Copy link
Contributor

Thanks... I'm also adding a commit to improve the test you added. Take a look please for future references. (I decided to just change it instead of asking the change here).

thanks a lot.

@asfgit asfgit closed this in 8d9ec3e Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants