You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2014/05/23 16:25:01 UTC

[jira] [Created] (JENA-703) If there are always readers active, the commit queue can't be flushed.

Andy Seaborne created JENA-703:
----------------------------------

             Summary: If there are always readers active, the commit queue can't be flushed.
                 Key: JENA-703
                 URL: https://issues.apache.org/jira/browse/JENA-703
             Project: Apache Jena
          Issue Type: Improvement
          Components: TDB
    Affects Versions: Jena 2.11.1
            Reporter: Andy Seaborne


The commit queue can only be flushed when the main storage is quiet.  A stream of readers can lead to the main storage never being quiet.

One possibility is to place a maximum (quite high) on the number of readers allowed after the decision to flush the journal to main storage. If exceeded,  then lock readers for a while, flush and resume.



--
This message was sent by Atlassian JIRA
(v6.2#6252)