You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by wy96f <gi...@git.apache.org> on 2018/07/05 09:52:57 UTC
[GitHub] activemq-artemis pull request #2171: ARTEMIS-1966 Replication channel closed...
GitHub user wy96f opened a pull request:
https://github.com/apache/activemq-artemis/pull/2171
ARTEMIS-1966 Replication channel closed but not connection if flow co…
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wy96f/activemq-artemis stop_connection_if_flowcontrolled
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2171.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2171
----
commit 0781b1d8407105aeeeb1ae1437cb8ee490e1cc9f
Author: yang wei <wy...@...>
Date: 2018-07-05T09:48:11Z
ARTEMIS-1966 Replication channel closed but not connection if flow controlled during replication
----
---
[GitHub] activemq-artemis pull request #2171: ARTEMIS-1966 Replication channel closed...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/activemq-artemis/pull/2171
---
[GitHub] activemq-artemis issue #2171: ARTEMIS-1966 Replication channel closed but no...
Posted by clebertsuconic <gi...@git.apache.org>.
Github user clebertsuconic commented on the issue:
https://github.com/apache/activemq-artemis/pull/2171
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.
---