Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12313 Removing TestInjection#waitForInSyncWithLeader
  3. SOLR-13168

tlog replicas wait for sync on every commit when solr is run with java assertions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.7, 8.0, 9.0
    • None
    • None

    Description

      Due to a bug in how TestInjection.waitForInSyncWithLeader was implemented, the test injection code can "leak" into non-test instances of solr in situations where java assertions were enabled at run time.

      This results in tlog replicas stalling on commit commands, and waiting for the regular scheduled/timed replication to take place before allowing the commit to succeed – meaning that the commit commands can time out.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: