Cassandra migration from tokens to vnodes

17 views
Skip to first unread message

vidya sagar

unread,
Sep 21, 2020, 3:33:26 AM9/21/20
to cassandra-unit-users
Hi,
I am facing an issue after adding new node to existing cluster recently. After the bootstrap for new node I am getting different token values than the configured ones.

NOTE :  I have read some where to get rid of this token ranges we can use vnodes, I am not sure how does it work.Can some one suggest please. Looking for implementing vnodes on my existing cluster setup.

cassandra version: Cassandra 3.10
Current setup (6 nodes with replication factor: 3).
Configured Token Ranges: 
-9223372036854775808
-6148914691236517206
-3074457345618258604
-2
3074457345618258600
6148914691236517202

Output of ring: 
Datacenter: datacenter1
==========
Address      Rack        Status State   Load            Owns                Token
                                                                            6148914691236517202
10.5.20.220  rack1       Up     Normal  1.34 TiB        40.00%              -9223372036854775808
10.5.20.61    rack1       Up     Normal  1.63 TiB        40.00%              -5534023222112865485
10.5.20.134  rack1       Up     Normal  1.52 TiB        56.67%              -1844674407370955162
10.5.20.227  rack1       Up     Normal  1.76 TiB        60.00%              1844674407370955161
10.5.20.169  rack1       Up     Normal  1.75 TiB        60.00%              5534023222112865484
10.5.20.47   rack1       Up     Normal  684.18 GiB      43.33%              6148914691236517202
Reply all
Reply to author
Forward
0 new messages