[
https://issues.apache.org/jira/browse/SOLR-12388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497096#comment-16497096
]
ASF subversion and git services commented on SOLR-12388:
--------------------------------------------------------
Commit 61a65d5928f4563f5c8284b1100528257e5c6834 in lucene-solr's branch
refs/heads/branch_7x from [~steve_rowe]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=61a65d5 ]
SOLR-12388: Add an expected exception message to
SearchHandlerTest.testRequireZkConnectedDistrib()
> Enable a strict ZooKeeper-connected search request mode, in which search
> requests will fail when the coordinating node can't communicate with ZooKeeper
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-12388
> URL: https://issues.apache.org/jira/browse/SOLR-12388
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: search, SolrCloud
> Reporter: Steve Rowe
> Assignee: Steve Rowe
> Priority: Minor
> Fix For: 7.4, master (8.0)
>
> Attachments: SOLR-12388.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]