lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1976) Commit on StreamingUpdateSolrServer can happen before all previously added docs have been sent to Solr
Date Thu, 08 Jul 2010 20:06:49 GMT

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

Mark Miller commented on SOLR-1976:
-----------------------------------

Can you expound on this? It should block until all threads are done adding before doing the
commit - are you seeing a bug?

> Commit on StreamingUpdateSolrServer can happen before all previously added docs have
been sent to Solr
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1976
>                 URL: https://issues.apache.org/jira/browse/SOLR-1976
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.4.1
>            Reporter: Stephen Duncan Jr
>
> Because of it's multi-threaded nature, calling commit on StreamingUpdateSolrServer  can
send the commit before all the added documents have been sent to Solr.  Calling blockUntilFinished()
does not change this.  It needs to be possible to send a commit that will commit all the documents
that have been added previously.

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


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


Mime
View raw message