You don’t have to double. You can add 1 node at a time - you just have to move every other token to stay balanced Most people don’t write the tooling to do that, but it’s not that complicated Calculate the token positions with N nodes Calculate the token positions with N+1 nodes Bootstrap the new machine at whichever N+1 token is furthest from an existing token For each existing node: Run cleanup Move node to the new token Run cleanup again It’s involved but straight forward, online, and safe. Because there’s only one token per node you can bootstrap/move in batches (offset by 2x RF - so if you have 100 machines and RF=3, you can have 16 machines bootstrapping or moving at the same time). You can’t do that safely with vnodes. On Oct 9, 2024, at 12:51 AM, guo Maxwell <cclive1...@gmail.com> wrote:
|
- Resources on Using Single Vnode in Cassandra Long Pan
- Re: Resources on Using Single Vnode in Cassandra Jordan West
- Re: Resources on Using Single Vnode in Cassandra Abe Ratnofsky
- Re: Resources on Using Single Vnode in Cassandra guo Maxwell
- Re: Resources on Using Single Vnode in Cassandr... Jeff Jirsa