You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Adam Holmberg (Jira)" <ji...@apache.org> on 2021/01/06 18:03:00 UTC

[jira] [Commented] (CASSANDRA-16283) Incorrect output in "nodetool status -r"

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

Adam Holmberg commented on CASSANDRA-16283:
-------------------------------------------

Thanks for taking a look at this, and for the patch. I reviewed and left a few comments on the PR.

While looking at this I think I noticed one other potential flaw around looking things up by endpoint (unrelated the resolved host lookup logic). It seems like the tool is never showing anything definitive for the "Owns (effective)" column. Resolved or not, the table always just produces '?'.

> Incorrect output in "nodetool status -r"
> ----------------------------------------
>
>                 Key: CASSANDRA-16283
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16283
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/nodetool
>            Reporter: Yakir Gibraltar
>            Assignee: Scott Wolfenhaut
>            Priority: Low
>             Fix For: 4.0-beta
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> nodetool status -r not working well on C* 4,
>  Version:
> {code:java}
> [root@foo001 ~]# nodetool version
> ReleaseVersion: 4.0-beta3
> {code}
> Without resolving:
> {code:java}
> [root@foo001 ~]# nodetool status
> Datacenter: V4CH
> ================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> --  Address Load    Tokens  Owns(effective) Host ID                            Rack
> UN  1.2.3.4 363.68 KiB  128     ?         92ae4c39-edb3-4e67-8623-b49fd8301b66 RAC1
> UN  1.2.3.5 109.71 KiB  128     ?         d80647a8-32b2-4a8f-8022-f5ae3ce8fbb2 RAC1
> {code}
> With resolving:
> {code:java}
> [root@foo001 ~]# nodetool status -r
> Datacenter: V4CH
> ================
> Status=Up/Down
> |/ State=Normal/Leaving/Joining/Moving
> --  Address          Load  Tokens  Owns (effective)  Host ID  Rack
> ?N  foo001.tab.com   ?     128     ?                          RAC1
> ?N  foo002.tab.com   ?     128     ?                          RAC1
> {code}
> I only changed here IPs and hostnames.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org