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-1499) ArtemisExecutor and ProcessorBase needs support of recursive blocking executions
Date Fri, 03 Nov 2017 13:43:00 GMT

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

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

GitHub user franz1981 opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1638

    ARTEMIS-1499 ArtemisExecutor and ProcessorBase needs support of recursive blocking executions

    Submitting a CountDownLatch::countDown task and CountDownLatch::await right after in the
event loop will block ArtemisExecutor.
    This fix provide:
     - a way to validate blocking actions (ie failing flushes on event loop)
     - thread local sequential execution for task submissions while on event loop (ie execute).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/franz1981/activemq-artemis recursive_ordered_executor

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1638.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 #1638
    
----
commit ee7c5db9c1f7a72fd29b791dfce4c7fba3b17543
Author: Francesco Nigro <nigro.fra@gmail.com>
Date:   2017-11-03T13:40:25Z

    ARTEMIS-1499 ArtemisExecutor and ProcessorBase needs support of recursive blocking executions
    
    Submitting a CountDownLatch::countDown task and CountDownLatch::await right after in the
event loop will block ArtemisExecutor.
    This fix provide:
     - a way to validate blocking actions (ie failing flushes on event loop)
     - thread local sequential execution for task submissions while on event loop (ie execute).

----


> ArtemisExecutor and ProcessorBase needs support of recursive blocking executions
> --------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1499
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1499
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>
> The (ProcessorBase and) ArtemisExecutor allows recursive executions of blocking tasks
(FutureLatch) that block the background event loop: it would be optimal to support recursive
executions to handle them.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message