Re: Resources to understand rebalancing

2023-10-26 Thread Vikas Kumar
Thanks for sharing this clear explanation, Jeff. Cheers! On Wed, Oct 25, 2023 at 5:58 PM Jeff Jirsa wrote: > Data ownership is defined by the token ring concept. > > Hosts in the cluster may have tokens - let's oversimplify to 5 hosts, each > with 1 token A=0, B=1000, C=2000, D=3000, E=4000 > >

Re: Resources to understand rebalancing

2023-10-25 Thread Jeff Jirsa
Data ownership is defined by the token ring concept. Hosts in the cluster may have tokens - let's oversimplify to 5 hosts, each with 1 token A=0, B=1000, C=2000, D=3000, E=4000 The partition key is hashed to calculate the token, and the next 3 hosts in the ring are the "owners" of that data - a k

Resources to understand rebalancing

2023-10-24 Thread Vikas Kumar
Hi folks, I am looking for some resources to understand the internals of rebalancing in Cassandra. Specifically: - How are read and write queries served during data migration? - How is the cutover from the current node to the new node performed? Any help is greatly appreciated. Thanks, Vikas