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

AutoAddReplicas does not wait enough for a replica to get live

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment