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

Enable a strict ZooKeeper-connected search request mode, in which search requests will fail when the coordinating node can't communicate with ZooKeeper

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: search, SolrCloud
    • Labels:
      None

      Description

      Right now, a Solr node will return the results of a search request even if it cannot communicate with ZooKeeper at the time it receives the request. This may result in stale or incorrect results if there have been major changes to the collection structure that the node has not been informed of via ZooKeeper. When this happens, as long as all known shards respond, the response will succeed, and a zkConnected header set to false is included in the search response.

      There should be an option to instead fail requests under these conditions, to prevent stale or incorrect results.

        Attachments

        1. SOLR-12388.patch
          24 kB
          Steve Rowe

          Activity

            People

            • Assignee:
              steve_rowe Steve Rowe
              Reporter:
              steve_rowe Steve Rowe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: