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

Paul Chandler updated CASSANDRA-19216:
--------------------------------------
    Description: 
When creating a 3 node cluster on a local machine using 3 loopback addresses

127.0.0.1
127.0.0.2
127.0.0.3

The nodes are created correctly and the first node is assigned as a CMS node as 
shown:

{{bin/nodetool p 7199 status{-}{-}}}
{{{}Datacenter: 
datacenter1{}}}{{{}======================={}}}{{{}Status=Up/Down{}}}{{{}|/ 
State=Normal/Leaving/Joining/Moving{}}}{{{}-  Address    Load       Tokens  
Owns (effective)  Host ID                               Rack{}}}

{{UN  127.0.0.3  75.55 KiB  16      76.0%             
6d194555-f6eb-41d0-c000-000000000003  rack1}}

{{UN  127.0.0.2  67.97 KiB  16      59.3%             
6d194555-f6eb-41d0-c000-000000000002  rack1}}

{{UN  127.0.0.1  81 KiB     16      64.7%             
6d194555-f6eb-41d0-c000-000000000001  rack1}}

{{bin/nodetool -p 7199 describecms}}
{{Cluster Metadata Service:}}
{{Members: /127.0.0.1:7000}}
{{Is Member: true}}
{{Service State: LOCAL}}
{{Is Migrating: false}}
{{Epoch: 14}}
{{Local Pending Count: 0}}
{{Commits Paused: false}}
{{{}Replication factor: 
ReplicationParams{class=org.apache.cassandra.locator.MetaStrategy, 
datacenter1=1{}}}}



{{However after doing a reconfigurecms to create a replication factor of 3, it 
seems that there is still only one member of cms.}}



{{bin/nodetool -p 7199 reconfigurecms datacenter1:3}}
{{bin/nodetool -p 7199 describecms}}
{{Cluster Metadata Service:}}
{{Members: /127.0.0.1:7000}}
{{Is Member: true}}
{{Service State: LOCAL}}

Is Migrating: false

Epoch: 16

Local Pending Count: 0

Commits Paused: false

Replication factor: 
ReplicationParams\{class=org.apache.cassandra.locator.MetaStrategy, 
datacenter1=3}

Is this correct, should all 3 nodes be shown in the Members section ?

  was:
When creating a 3 node cluster on a local machine using 3 loopback addresses

127.0.0.1
127.0.0.2
127.0.0.3

The nodes are created correctly and the first node is assigned as a CMS node as 
shown:



{{{}bin/nodetool -p 7199 status{}}}{{{}Datacenter: 
datacenter1{}}}{{{}======================={}}}{{{}Status=Up/Down{}}}{{{}|/ 
State=Normal/Leaving/Joining/Moving{}}}{{{}--  Address    Load       Tokens  
Owns (effective)  Host ID                               Rack{}}}

{{UN  127.0.0.3  75.55 KiB  16      76.0%             
6d194555-f6eb-41d0-c000-000000000003  rack1}}

{{UN  127.0.0.2  67.97 KiB  16      59.3%             
6d194555-f6eb-41d0-c000-000000000002  rack1}}

{{UN  127.0.0.1  81 KiB     16      64.7%             
6d194555-f6eb-41d0-c000-000000000001  rack1}}

{{bin/nodetool -p 7199 describecms}}
{{Cluster Metadata Service:}}
{{Members: /127.0.0.1:7000}}
{{Is Member: true}}
{{Service State: LOCAL}}
{{Is Migrating: false}}
{{Epoch: 14}}
{{Local Pending Count: 0}}
{{Commits Paused: false}}
{{Replication factor: 
ReplicationParams\{class=org.apache.cassandra.locator.MetaStrategy, 
datacenter1=1}}}
{{}}


{{However after doing a reconfigurecms to create a replication factor of 3, it 
seems that there is still only one member of cms.}}
{{}}


{{bin/nodetool -p 7199 reconfigurecms datacenter1:3}}
{{bin/nodetool -p 7199 describecms}}
{{Cluster Metadata Service:}}
{{Members: /127.0.0.1:7000}}
{{Is Member: true}}
{{Service State: LOCAL}}

Is Migrating: false

Epoch: 16

Local Pending Count: 0

Commits Paused: false

Replication factor: 
ReplicationParams\{class=org.apache.cassandra.locator.MetaStrategy, 
datacenter1=3}


Is this correct, should all 3 nodes be shown in the Members section ?


> CMS: Additional nodes are not added to CMS
> ------------------------------------------
>
>                 Key: CASSANDRA-19216
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19216
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Transactional Cluster Metadata
>            Reporter: Paul Chandler
>            Priority: Normal
>
> When creating a 3 node cluster on a local machine using 3 loopback addresses
> 127.0.0.1
> 127.0.0.2
> 127.0.0.3
> The nodes are created correctly and the first node is assigned as a CMS node 
> as shown:
> {{bin/nodetool p 7199 status{-}{-}}}
> {{{}Datacenter: 
> datacenter1{}}}{{{}======================={}}}{{{}Status=Up/Down{}}}{{{}|/ 
> State=Normal/Leaving/Joining/Moving{}}}{{{}-  Address    Load       Tokens  
> Owns (effective)  Host ID                               Rack{}}}
> {{UN  127.0.0.3  75.55 KiB  16      76.0%             
> 6d194555-f6eb-41d0-c000-000000000003  rack1}}
> {{UN  127.0.0.2  67.97 KiB  16      59.3%             
> 6d194555-f6eb-41d0-c000-000000000002  rack1}}
> {{UN  127.0.0.1  81 KiB     16      64.7%             
> 6d194555-f6eb-41d0-c000-000000000001  rack1}}
> {{bin/nodetool -p 7199 describecms}}
> {{Cluster Metadata Service:}}
> {{Members: /127.0.0.1:7000}}
> {{Is Member: true}}
> {{Service State: LOCAL}}
> {{Is Migrating: false}}
> {{Epoch: 14}}
> {{Local Pending Count: 0}}
> {{Commits Paused: false}}
> {{{}Replication factor: 
> ReplicationParams{class=org.apache.cassandra.locator.MetaStrategy, 
> datacenter1=1{}}}}
> {{However after doing a reconfigurecms to create a replication factor of 3, 
> it seems that there is still only one member of cms.}}
> {{bin/nodetool -p 7199 reconfigurecms datacenter1:3}}
> {{bin/nodetool -p 7199 describecms}}
> {{Cluster Metadata Service:}}
> {{Members: /127.0.0.1:7000}}
> {{Is Member: true}}
> {{Service State: LOCAL}}
> Is Migrating: false
> Epoch: 16
> Local Pending Count: 0
> Commits Paused: false
> Replication factor: 
> ReplicationParams\{class=org.apache.cassandra.locator.MetaStrategy, 
> datacenter1=3}
> Is this correct, should all 3 nodes be shown in the Members section ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to