activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1891) Sending synchronization finished packet starves when thread pool is full
Date Mon, 28 May 2018 07:06:00 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492339#comment-16492339
] 

ASF GitHub Bot commented on ARTEMIS-1891:
-----------------------------------------

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

----


> Sending synchronization finished packet starves when thread pool is full
> ------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1891
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1891
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>            Reporter: yangwei
>            Priority: Major
>         Attachments: synchronization_timeout.stack
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message