[
https://issues.apache.org/jira/browse/SOLR-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jayson Minard updated SOLR-1155:
--------------------------------
Attachment: DirectUpdateHandler3.java
I created DirectUpdateHandler3 as a copy of DirectUpdateHandler2 and then did a
pass across it rebuilding the locking, stats, and tracker. I am basically at
the "IDE show no errors" stage and going to read it a few more times, and start
testing. Feedback is welcome as I'm in the dark on a few areas of this code
and I am working from a lot of assumptions. Some event placeholder methods
remain while I think through the issues, will trim it back when done.
Events to the auto commit tracker are within the locks to help avoid cases
where we set the counts to 0 after other work has concurrently been done. The
stats information has similar concerns and is not yet dealt with, so some stats
might reset to 0 on commit when there was further work being done (so they
should not go to 0).
> Change DirectUpdateHandler2 to allow concurrent adds during an autocommit
> -------------------------------------------------------------------------
>
> Key: SOLR-1155
> URL: https://issues.apache.org/jira/browse/SOLR-1155
> Project: Solr
> Issue Type: Improvement
> Components: search
> Affects Versions: 1.3
> Reporter: Jayson Minard
> Attachments: DirectUpdateHandler3.java
>
>
> Currently DirectUpdateHandler2 will block adds during a commit, and it seems
> to be possible with recent changes to Lucene to allow them to run
> concurrently.
> See:
> http://www.nabble.com/Autocommit-blocking-adds---AutoCommit-Speedup--td23435224.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.