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

AutoAddReplicas does not wait enough for a replica to get live

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10, 4.10.1, 4.10.2, 5.0, 6.0
    • Fix Version/s: 4.10.4, 5.0, 6.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: