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.