Solr
  1. Solr
  2. SOLR-4664

ZkStateReader should update aliases on construction.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently they just use a watcher, so if you create the zkstatereader after updating aliases, it won't see them, unless another update happens. This might be done most often with CloudSolrServer.

        Issue Links

          Activity

          Show
          Mark Miller added a comment - see http://markmail.org/thread/vtp2b7dz57ueqziu
          Hide
          Mark Miller added a comment -

          You can work around this by explicitly calling zkStateReader#updateAliases.

          Show
          Mark Miller added a comment - You can work around this by explicitly calling zkStateReader#updateAliases.
          Hide
          Mark Miller added a comment -

          I committed this yesterday.

          Show
          Mark Miller added a comment - I committed this yesterday.
          Hide
          Uwe Schindler added a comment -

          Closed after release.

          Show
          Uwe Schindler added a comment - Closed after release.

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development