[ 
https://issues.apache.org/jira/browse/SOLR-11478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16210478#comment-16210478
 ] 

ASF subversion and git services commented on SOLR-11478:
--------------------------------------------------------

Commit 56dee524fec8aa73831a4369740d31bce92f2aa7 in lucene-solr's branch 
refs/heads/branch_7x from [~caomanhdat]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=56dee52 ]

SOLR-11478: Solr should remove itself from live_nodes in zk immediately on 
shutdown


> Solr should remove itself from live_nodes in zk immediately on shutdown
> -----------------------------------------------------------------------
>
>                 Key: SOLR-11478
>                 URL: https://issues.apache.org/jira/browse/SOLR-11478
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>            Reporter: Binoy Dalal
>            Assignee: Cao Manh Dat
>            Priority: Minor
>         Attachments: SOLR-11478.patch
>
>
> Solr currently, upon receiving the stop command, removes its entry from the 
> zk /live_nodes znode after it has finished processing all inflight requests, 
> just before finally shutting down.
> In this case, any applications that depend on a solr node's live_node entry 
> to decide whether or not to query it fail once the stop command has been 
> executed but solr has not yet fully shut down.
> Something similar occurs during startup of a solr node. The solr node seems 
> to add it's entry to the /live_nodes in zk once it is up but before it has 
> started accepting requests and once again, this causes dependent applications 
> to fail in a similar fashion.
> Hence, removal of the node entry and addition of the same to the zk 
> live_nodes immediately upon shutting down and at the very end upon coming up 
> respectively will greatly benefit applications that depend the live_nodes 
> znode.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to