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-3428) SolrCmdDistributor flushAdds/flushDeletes problems
Date Thu, 03 May 2012 15:12:49 GMT

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

Mark Miller commented on SOLR-3428:
-----------------------------------

Any chance you could break out a test case and fix for this from that? I'd like to see this
fixed sooner rather than later, and that patch is fairly large with a lot of unrelated changes
in the other issue.
                
> SolrCmdDistributor flushAdds/flushDeletes problems
> --------------------------------------------------
>
>                 Key: SOLR-3428
>                 URL: https://issues.apache.org/jira/browse/SOLR-3428
>             Project: Solr
>          Issue Type: Bug
>          Components: replication (java), SolrCloud, update
>    Affects Versions: 4.0
>            Reporter: Per Steffensen
>            Assignee: Per Steffensen
>              Labels: add, delete, replica, solrcloud, update
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> A few problems with SolrCmdDistributor.flushAdds/flushDeletes
> * If number of AddRequests/DeleteRequests in alist/dlist is below limit for a specific
node the method returns immediately and doesnt flush for subsequent nodes
> * When returning immediately because there is below limit requests for a given node,
then previous nodes that have already been flushed/submitted are not removed from adds/deletes
maps (causing them to be flushed/submitted again the next time flushAdds/flushDeletes is executed)
> * The idea about just combining params does not work for SEEN_LEADER params (and probably
others as well). Since SEEN_LEADER cannot be expressed (unlike commitWithin and overwrite)
for individual operations in the request, you need to sent two separate submits. One containing
requests with SEEN_LEADER=true and one with SEEN_LEADER=false.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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