You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (Jira)" <ji...@apache.org> on 2023/12/21 10:58:00 UTC
[jira] [Commented] (CASSANDRA-19216) CMS: Additional nodes are not added to CMS
[ https://issues.apache.org/jira/browse/CASSANDRA-19216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17799369#comment-17799369 ]
Marcus Eriksson commented on CASSANDRA-19216:
---------------------------------------------
I'll submit a patch for this later today
as a workaround until then you can use {{nodetool reconfigureccms datacenter1:3 --sync}}
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org