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

Removing TestInjection#waitForInSyncWithLeader

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This really should have some doc for why it would be used.
      I also think it causes BasicDistributedZkTest to take forever for sometimes and perhaps other tests?

      I think checking for uncommitted data is probably a race condition and should be removed.

      Checking index versions should follow the rules that replication does - if the slave is higher than the leader, it's in sync, being equal is not required. If it's expected for a test it should be a specific test that fails. This just introduces massive delays.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                caomanhdat Cao Manh Dat
                Reporter:
                markrmiller@gmail.com Mark Miller
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: