Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5041

Add a test to make sure that a leader always recovers from log on startup

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.3, 7.0
    • SolrCloud
    • None

    Description

      From my comment on SOLR-4997:

      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.

      Attachments

        1. SOLR-5041.patch
          8 kB
          Vitaliy Zhovtyuk
        2. SOLR-5401.patch
          3 kB
          Cao Manh Dat

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: