You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2018/05/31 15:12:00 UTC

[jira] [Closed] (ARTEMIS-1891) Sending synchronization finished packet starves when thread pool is full

     [ https://issues.apache.org/jira/browse/ARTEMIS-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clebert suconic closed ARTEMIS-1891.
------------------------------------
    Resolution: Fixed

> 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
>    Affects Versions: 2.6.0
>            Reporter: yangwei
>            Priority: Major
>             Fix For: 2.7.0, 2.6.1
>
>         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. Here we use io executor to send replicate packet to fix thread pool starvation problem.



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