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

AutoAddReplicas does not wait enough for a replica to get live

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.10, 4.10.1, 4.10.2, 5.0, 6.0
    • 4.10.4, 5.0, 6.0
    • None
    • None

    Description

      After we have detected that a replica needs failing over, we add a replica and wait to see if it's live.

      Currently we only wait for 30ms , but I think the intention here was to wait for 30s.

      In CloudStateUtil.waitToSeeLive() the conversion should have been System.nanoTime() + TimeUnit.NANOSECONDS.convert(timeoutInMs, TimeUnit.SECONDS); instead of System.nanoTime() + TimeUnit.NANOSECONDS.convert(timeoutInMs, TimeUnit.MILLISECONDS);

      Attachments

        1. SOLR-6850.patch
          1 kB
          Varun Thacker
        2. SOLR-6850.patch
          1.0 kB
          Varun Thacker

        Activity

          People

            markrmiller@gmail.com Mark Miller
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: