[ 
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: [email protected]):
    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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to