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

ZkController.publishAndWaitForDownStates always times out when a new cluster is started

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.10.3, 5.0, 6.0
    • SolrCloud

    Description

      Using stateFormat=2, our solr always takes a while to start up and spits out this warning line:

      WARN - 2014-10-08 17:30:24.290; org.apache.solr.cloud.ZkController; Timed out waiting to see all nodes published as DOWN in our cluster state.

      Looking at the code, this is probably because ZkController.publishAndWaitForDownStates is called in ZkController.init, which gets called via ZkContainer.initZookeeper in CoreContainer.load before any of the stateFormat=2 collection watches are set in the CoreContainer.preRegisterInZk call a few lines later.

      Attachments

        1. SOLR-6610.patch
          0.8 kB
          Noble Paul

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              mewmewball Jessica Cheng Mallet
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: