GitHub user afs opened a pull request:
https://github.com/apache/jena/pull/164
JENA-1222 and JENA-1224: Flush queue when large by byte size or by pending
commits.
This adds additional control over the queue in the journal.
If the journal gets large, as measured by the journal file size in bytes
(JENA-1222) then try to flush the journal.
If the journal becomes excessive long in terms of pending commits
(JENA-1224) then after a writer, flip to exclusive mode, flush the journal and
flip back to normal mode.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/afs/jena tdb-txn
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/164.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 #164
----
commit 6e09208e449ec8b37cd573c0427e31e3fde2017b
Author: Andy Seaborne <[email protected]>
Date: 2016-08-21T19:12:21Z
JENA-1222: Try to flush if the journal is large (in bytes).
commit 166b6e9ccf1b4d4b0b93b49444a2534a083c09c4
Author: Andy Seaborne <[email protected]>
Date: 2016-08-21T19:48:37Z
JENA-1224: Flush based on trying to keep below a max size.
commit 68965e054b5df7e262d377c27bb7a39f08755d6e
Author: Andy Seaborne <[email protected]>
Date: 2016-08-21T19:51:48Z
Tests for JENA-1222 and JENA-1224.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---