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

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3, 7.0
    • Component/s: SolrCloud
    • Labels:
      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-5401.patch
          3 kB
          Cao Manh Dat
        2. SOLR-5041.patch
          8 kB
          Vitaliy Zhovtyuk

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: