[ 
https://issues.apache.org/jira/browse/SOLR-5041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cao Manh Dat updated SOLR-5041:
-------------------------------
    Attachment: SOLR-5401.patch

Initial patch for this issue. In this test :
- We start up a cluster 2x2
- Index some docs ( do not run commit )
- Restart the cluster
- Make sure that all nodes is recover from log

> Add a test to make sure that a leader always recovers from log on startup
> -------------------------------------------------------------------------
>
>                 Key: SOLR-5041
>                 URL: https://issues.apache.org/jira/browse/SOLR-5041
>             Project: Solr
>          Issue Type: Test
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 4.9, 6.0
>
>         Attachments: SOLR-5041.patch, SOLR-5401.patch
>
>
> From my comment on SOLR-4997:
> bq. I fixed a bug that I had introduced which skipped log recovery on startup 
> for all leaders instead of only sub shard leaders. I caught this only because 
> I was doing another line-by-line review of all my changes. We should have a 
> test which catches such a condition.
> Add a test which tests that leaders always recover from log on startup.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to