You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by cshannon <gi...@git.apache.org> on 2018/10/30 11:48:39 UTC

[GitHub] activemq-artemis pull request #2402: NO-JIRA: Clarify journal-buffer-timeout...

GitHub user cshannon opened a pull request:

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

    NO-JIRA: Clarify journal-buffer-timeout documentation

    Clarify how to disable the buffer timeout.  On one of my test brokers I disabled journal-sync-transactional and journal-sync-non-transactional as data loss is not a big deal.  In this scenario I just want to write directly to the file and not use a timed buffer and let the OS handle data syncing, however it was not clear on how to accomplish this.  Looking at the code I discovered setting the timeout to 0 will disable the buffer so I'm adding a comment in case others want to do the same.

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

    $ git pull https://github.com/cshannon/activemq-artemis persistenceDocUpdate

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

    https://github.com/apache/activemq-artemis/pull/2402.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 #2402
    
----

----


---

[GitHub] activemq-artemis pull request #2402: NO-JIRA: Clarify journal-buffer-timeout...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---

[GitHub] activemq-artemis issue #2402: NO-JIRA: Clarify journal-buffer-timeout docume...

Posted by cshannon <gi...@git.apache.org>.
Github user cshannon commented on the issue:

    https://github.com/apache/activemq-artemis/pull/2402
  
    I know, either way, this is just to update the documentation to say that 0 will disable the timed buffer


---

[GitHub] activemq-artemis issue #2402: NO-JIRA: Clarify journal-buffer-timeout docume...

Posted by franz1981 <gi...@git.apache.org>.
Github user franz1981 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/2402
  
    You need to disable data-sync too if you want to rely just on the sync provided by OS ie just application failure protection AFAIK.
    Without being too OT, provided you have enough RAM, the mapped journal is specifically built to address this use case :)


---