You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Vitaliy Zhovtyuk (JIRA)" <ji...@apache.org> on 2014/11/23 16:43:12 UTC

[jira] [Updated] (SOLR-5041) Add a test to make sure that a leader always recovers from log on startup

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

Vitaliy Zhovtyuk updated SOLR-5041:
-----------------------------------
    Attachment: SOLR-5041.patch

Added test to send updates and stop test server, then restart test server and commit. Added single and multiple shards tests.

> 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
>             Fix For: 4.9, Trunk
>
>         Attachments: SOLR-5041.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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org