GitHub user wy96f opened a pull request:
https://github.com/apache/activemq-artemis/pull/2114
ARTEMIS-1891 Sending synchronization finished packet starves when thread
pool is full
After sending pages, the thread will hold the storage manager write lock
and send synchronization finished packet(use the parent thread pool) to the
backup node. At the same time, thread pool is full bcs they are waiting for the
storage manager read lock to write the page or journal, leading to replication
starting failure.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wy96f/activemq-artemis synchronization_timeout
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2114.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 #2114
----
commit 7216d1004b3cfc65fc812e5c03197a5bb6a07f24
Author: wy96f <wy96fyw@...>
Date: 2018-02-23T09:32:14Z
Merge pull request #2 from apache/master
update from origin
commit e54b1286fa0e17e35c2051b4427752d858115134
Author: yang wei <wy96fyw@...>
Date: 2018-05-25T11:54:05Z
Merge remote-tracking branch 'upstream/master'
commit 8ba85bf68232219ce77e75b64eecf499e25e1c17
Author: yang wei <wy96fyw@...>
Date: 2018-05-28T06:12:21Z
use io executor to send replicate packet
----
---