lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-2748) autocommit commits too many times
Date Thu, 08 Sep 2011 03:31:09 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099675#comment-13099675
] 

Yonik Seeley edited comment on SOLR-2748 at 9/8/11 3:30 AM:
------------------------------------------------------------

Another interesting thing I ran into reviewing this code is that the CommitTracker.run() method
is synchronized, and so is _scheduleCommitWithin(), meaning (I think) that a long running
commit will block anything calling that method (and an autoCommit by time or an add with a
commitWithin specified would qualify).

edit: and I seem to recall some people reporting that adds were blocked until a new searcher
was registered (but I could never reproduce it myself).  This is probably the root cause of
those problems.

      was (Author: yseeley@gmail.com):
    Another interesting thing I ran into reviewing this code is that the CommitTracker.run()
method is synchronized, and so is _scheduleCommitWithin(), meaning (I think) that a long running
commit will block anything calling that method (and an autoCommit by time or an add with a
commitWithin specified would qualify).
  
> autocommit commits too many times
> ---------------------------------
>
>                 Key: SOLR-2748
>                 URL: https://issues.apache.org/jira/browse/SOLR-2748
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>         Attachments: SOLR-2748.patch
>
>
> autocommit seems to commit more frequently than configured.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message