Re: How the write path finds the N nodes to write to?

2023-08-30 Thread Abe Ratnofsky
> if the replication factor is 3 it just picks the other two nodes following > the ring clockwise. The coordinator for a given mutation is not necessarily a replica (depending on whether token-aware routing is used by the client) so it may have to forward to RF remote nodes, then wait for the r

How the write path finds the N nodes to write to?

2023-08-30 Thread Gabriel Giussi
I know cassandra uses consistent hashing for choosing the node where a key should go to, and if I understand correctly from this image https://cassandra.apache.org/doc/latest/cassandra/_images/ring.svg if the replication factor is 3 it just picks the other two nodes following the ring clockwise. I

Re: Startup errors - 4.1.3

2023-08-30 Thread Jeff Jirsa
There are at least two bugs in the compaction lifecycle transaction log - one that can drop an ABORT / ADD in the wrong order (and prevent startup), and one that allows for invalid timestamps in the log file (and again, prevent startups). I believe it's safe to work around the former by removing

Startup errors - 4.1.3

2023-08-30 Thread Joe Obernberger
Hi all - I replaced a node in a 14 node cluster, and it rebuilt OK.  I started to see a lot of timeout errors, and discovered one of the nodes had this message constantly repeated: "waiting to acquire a permit to begin streaming" - so perhaps I hit this bug: https://www.mail-archive.com/commits