GitHub user gaohoward opened a pull request:
https://github.com/apache/activemq-artemis/pull/2305
NO-JIRA - Page.write() should throw exception if file is closed
In Page.write(final PagedMessage message) if the page file is closed
it returns silently. The caller has no way to know that if the message
is paged to file or not. It should throw an exception so that the
caller can handle it correctly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gaohoward/activemq-artemis a_page_write
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2305.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 #2305
----
commit 2bf2a3918a89c24f68de00a2dcc4630bf9b03409
Author: Howard Gao <howard.gao@...>
Date: 2018-09-12T03:11:02Z
NO-JIRA - Page.write() should throw exception if file is closed
In Page.write(final PagedMessage message) if the page file is closed
it returns silently. The caller has no way to know that if the message
is paged to file or not. It should throw an exception so that the
caller can handle it correctly.
----
---