You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dennis Gove (JIRA)" <ji...@apache.org> on 2016/03/20 16:16:33 UTC

[jira] [Closed] (SOLR-8666) Add header to SearchHandler to indicate whether solr is connection to zk

     [ https://issues.apache.org/jira/browse/SOLR-8666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Gove closed SOLR-8666.
-----------------------------
       Resolution: Fixed
    Fix Version/s: master

> Add header to SearchHandler to indicate whether solr is connection to zk
> ------------------------------------------------------------------------
>
>                 Key: SOLR-8666
>                 URL: https://issues.apache.org/jira/browse/SOLR-8666
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Keith Laban
>            Assignee: Dennis Gove
>             Fix For: master
>
>         Attachments: SOLR-8666.patch
>
>
> Currently solr update requests error out if a zookeeper check fails, however SearchHandler does not do these checks. As a result, if a request is sent to a node which should be part of a SolrCloud but is not connected to zookeeper and thinks that its Active, it's possible the response is composed of stale data. 
> The purpose of this header is to allow the client to decide whether or not the result data should be considered valid.
> This patch also returns the {{zkConnected}} header in the ping handler to allow external health checks to use this information. 
> See [SOLR-8599] for an example of when this situation can arise. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org