cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-6811) nodetool no longer shows node joining
Date Tue, 11 Mar 2014 09:56:42 GMT


Vijay updated CASSANDRA-6811:

    Attachment: 0001-CASSANDRA-6811-v2.patch

Sorry, I misunderstood the comment thinking nodetool status doesn't need a fix...
Please see the attached, actually it fixes the joining status for Multi DC setup. (

I did a little bit of refactoring to reuse the code, hope it is ok.
Effective ownership for nodes might be broken before and after this patch, since every line
shows the host ownership not the line items ownership.

> nodetool no longer shows node joining
> -------------------------------------
>                 Key: CASSANDRA-6811
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Vijay
>            Priority: Minor
>             Fix For: 1.2.16
>         Attachments: 0001-CASSANDRA-6811-v2.patch, ringfix.txt
> When we added effective ownership output to nodetool ring/status, we accidentally began
excluding joining nodes because we iterate the ownership maps instead of the the endpoint
to token map when printing the output, and the joining nodes don't have any ownership.  The
simplest thing to do is probably iterate the token map instead, and not output any ownership
info for joining nodes.

This message was sent by Atlassian JIRA

View raw message