Re: [Discuss] num_tokens default in Cassandra 4.0

2020-02-19 Thread Jon Haddad
Joey Lynch had a good idea - that if the allocate tokens for RF isn't set we use 1 as the RF. I suggested we take it a step further and use the rack count as the RF if it's not set. This should take care of most clusters even if they don't set the RF, and will handle the uneven distribution when

Re: [DISCUSS] Client protocol changes (Was: 20200217 4.0 Status Update)

2020-02-19 Thread Jorge Bay Gondra
Also worth mentioning that, from the driver's perspective, it has to support a protocol version during the lifetime of the C* version line. For example, the drivers should drop support for protocol v3 after C* 2.1 goes EOL, somewhere this year, a protocol that was released back in 2014. We _could_

Re: [Discuss] num_tokens default in Cassandra 4.0

2020-02-19 Thread Jeremiah Jordan
If you don’t know what you are doing you will have one rack which will also be safe. If you are setting up racks then you most likely read something about doing that, and should also be fine. This discussion has gone off the rails 100 times with what ifs that are “letting perfect be the enemy of