You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/11/05 13:07:00 UTC
[jira] [Commented] (SOLR-13882) Collections API COLSTATUS does not
check live_nodes when reporting replica's status
[ https://issues.apache.org/jira/browse/SOLR-13882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16967510#comment-16967510 ]
ASF subversion and git services commented on SOLR-13882:
--------------------------------------------------------
Commit 720fb94113d0dca346c40857d26da50fc0e996e8 in lucene-solr's branch refs/heads/master from Andrzej Bialecki
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=720fb94 ]
SOLR-13882: Collections API COLSTATUS does not check live_nodes when reporting replica's status.
> Collections API COLSTATUS does not check live_nodes when reporting replica's status
> -----------------------------------------------------------------------------------
>
> Key: SOLR-13882
> URL: https://issues.apache.org/jira/browse/SOLR-13882
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Erick Erickson
> Assignee: Andrzej Bialecki
> Priority: Major
> Fix For: 8.4
>
> Attachments: SOLR-13882.patch
>
>
> The COLSTATUS command will report all replicas as "active" even when the node is not in live_nodes.
> To reproduce:
> * Start two Solr instances
> * create a collection with replicas on both
> * issue a "kill -9" to one of the Solr instances.
> * issue the COLSTATUS command
> Result:
> {code}
> {
> "responseHeader":{
> "status":0,
> "QTime":7},
> "gettingstarted":{
> "stateFormat":2,
> "znodeVersion":15,
> "properties":{
> "autoAddReplicas":"false",
> "maxShardsPerNode":"-1",
> "nrtReplicas":"2",
> "pullReplicas":"0",
> "replicationFactor":"2",
> "router":\{"name":"compositeId"},
> "tlogReplicas":"0"},
> "activeShards":2,
> "inactiveShards":0,
> "schemaNonCompliant":["(NONE)"],
> "shards":{
> "shard1":{
> "state":"active",
> "range":"80000000-ffffffff",
> "replicas":{
> "total":2,
> ##### "active":2,
> ##### "down":0,
> "recovering":0,
> "recovery_failed":0},
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org