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

Not all types of index corruption garuntee a leader will "give up its leadership"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      While investigating failures from LeaderTragicEventTest, I've found some reproducible situations where (externally introduced) index corruption can cause a leader to reject updates, but not automatically give up it's leadership.

      See discussion in LUCENE-8692 – notably simon's comment on why/how some things are explicitly not treated as tragic today for a disucssion of the root cause.

      We may need/want to rethink & improve the situations where a leader gives up leadership, above and beyond IW registering a tragic exception

       

      Attachments

        1. SOLR-13237_logging.patch
          1 kB
          Chris M. Hostetter
        2. log-fail-DEADBEEF.txt
          134 kB
          Chris M. Hostetter
        3. log-pass-BEEFBEEF.txt
          301 kB
          Chris M. Hostetter
        4. log-fail-5D803D4699663918.txt
          135 kB
          Chris M. Hostetter
        5. log-pass-FEEDBEEF.txt
          295 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: