{"action":"created","issue":{"url":"https://api.github.com/repos/apache/activemq-artemis/issues/1638","repository_url":"https://api.github.com/repos/apache/activemq-artemis","labels_url":"https://api.github.com/repos/apache/activemq-artemis/issues/1638/labels{/name}","comments_url":"https://api.github.com/repos/apache/activemq-artemis/issues/1638/comments","events_url":"https://api.github.com/repos/apache/activemq-artemis/issues/1638/events","html_url":"https://github.com/apache/activemq-artemis/pull/1638","id":270981716,"number":1638,"title":"ARTEMIS-1499 ArtemisExecutor and ProcessorBase needs support of recursive blocking executions","user":{"login":"franz1981","id":13125299,"avatar_url":"https://avatars2.githubusercontent.com/u/13125299?v=4","gravatar_id":"","url":"https://api.github.com/users/franz1981","html_url":"https://github.com/franz1981","followers_url":"https://api.github.com/users/franz1981/followers","following_url":"https://api.github.com/users/franz1981/following{/other_user}","gists_url":"https://api.github.com/users/franz1981/gists{/gist_id}","starred_url":"https://api.github.com/users/franz1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franz1981/subscriptions","organizations_url":"https://api.github.com/users/franz1981/orgs","repos_url":"https://api.github.com/users/franz1981/repos","events_url":"https://api.github.com/users/franz1981/events{/privacy}","received_events_url":"https://api.github.com/users/franz1981/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-11-03T13:41:58Z","updated_at":"2017-11-03T17:01:57Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/activemq-artemis/pulls/1638","html_url":"https://github.com/apache/activemq-artemis/pull/1638","diff_url":"https://github.com/apache/activemq-artemis/pull/1638.diff","patch_url":"https://github.com/apache/activemq-artemis/pull/1638.patch"},"body":"Submitting a CountDownLatch::countDown task and CountDownLatch::await right after in the event loop will block ArtemisExecutor.\r\nThis fix provide:\r\n - a way to validate blocking actions (ie failing flushes on event loop)\r\n - thread local sequential execution for task submissions while on event loop (ie execute)."},"comment":{"url":"https://api.github.com/repos/apache/activemq-artemis/issues/comments/341765609","html_url":"https://github.com/apache/activemq-artemis/pull/1638#issuecomment-341765609","issue_url":"https://api.github.com/repos/apache/activemq-artemis/issues/1638","id":341765609,"user":{"login":"franz1981","id":13125299,"avatar_url":"https://avatars2.githubusercontent.com/u/13125299?v=4","gravatar_id":"","url":"https://api.github.com/users/franz1981","html_url":"https://github.com/franz1981","followers_url":"https://api.github.com/users/franz1981/followers","following_url":"https://api.github.com/users/franz1981/following{/other_user}","gists_url":"https://api.github.com/users/franz1981/gists{/gist_id}","starred_url":"https://api.github.com/users/franz1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franz1981/subscriptions","organizations_url":"https://api.github.com/users/franz1981/orgs","repos_url":"https://api.github.com/users/franz1981/repos","events_url":"https://api.github.com/users/franz1981/events{/privacy}","received_events_url":"https://api.github.com/users/franz1981/received_events","type":"User","site_admin":false},"created_at":"2017-11-03T17:01:57Z","updated_at":"2017-11-03T17:01:57Z","author_association":"CONTRIBUTOR","body":"@clebertsuconic \r\n> Instead of changing the semantic of flush, lets just avoid the bug... this PR should be closed IMO.\r\n\r\nI'm not sure about it TBH: help to understand why we can't check if `flush` is being called for within the event loop? \r\nIt is a wrong use of it as you said and we can check/validate it with ease (or at least we could log it as a warning/error) and without any perf impact. "}}
{"actor":{"display_login":"franz1981"}}