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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • search, SolrCloud
    • 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
          Steven Rowe

        Activity

          People

            sarowe Steven Rowe
            sarowe Steven Rowe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: