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 <wy96fyw@...> Date: 2018-07-05T09:48:11Z ARTEMIS-1966 Replication channel closed but not connection if flow controlled during replication ---- ---