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

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.7, 8.0, master (9.0)
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: