lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayson Minard (JIRA)" <>
Subject [jira] Updated: (SOLR-1155) Change DirectUpdateHandler2 to allow concurrent adds during an autocommit
Date Sat, 09 May 2009 05:02:45 GMT


Jayson Minard updated SOLR-1155:


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

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:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Jayson Minard
>         Attachments:
> 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:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message