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

Start the Overseer before actions that need the overseer on init and when reconnecting after zk expiration and improve init logic.

    Details

      Description

      ZkController.publishAndWaitForDownStates() occurs before overseer election. That means if there is currently no overseer, there is ironically no one to actually service the down state changes it's waiting on. This particularly affects a single-node cluster such as you might run locally for development.

      Additionally, we're doing an unnecessary ZkStateReader forced refresh on all Overseer operations. This isn't necessary because ZkStateReader keeps itself up to date.

        Attachments

        1. SOLR-8696.patch
          4 kB
          Mark Miller
        2. SOLR-8696.patch
          3 kB
          Scott Blum
        3. SOLR-8696-followup.patch
          2 kB
          Scott Blum

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                dragonsinth Scott Blum
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: