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

Removing TestInjection#waitForInSyncWithLeader

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • 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

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: