lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3080) We should consider removing shard info from Zk when you explicitly unload a SolrCore.
Date Sun, 26 Feb 2012 05:22:49 GMT

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

Yonik Seeley commented on SOLR-3080:
------------------------------------

OK, here's what I think is happening around the ChaosMonkeySafeLeaderTest failures I'm seeing.

The missing docs actually appear in the "startingVersions" (i.e. they are in the transaction
log).
We peersync and don't request those versions because we already have them.
*But* I don't think we ever called UpdateLog.recoverFromLog() to actually apply them to the
index!

In ZkController.register() recoverFromLog is only called if isLeader==true.  Perhaps this
is a holdover from when peersync was not done at startup and hence it didn't make sense to
try and recover from your logs when you were just going to replicate the leader index anyway?
                
> We should consider removing shard info from Zk when you explicitly unload a SolrCore.
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-3080
>                 URL: https://issues.apache.org/jira/browse/SOLR-3080
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Sami Siren
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-3080.patch, SOLR-3080.patch, SOLR-3080_smaller_sync.patch
>
>


--
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