Open dkropachev opened 3 months ago
We probably won't be implementing it here, but in rust-driver (and thus in cpp-rust-driver). Do we need this issuse?
Moved to cpp-rust-driver and reopening to make sure we have it there after rust-driver implementation.
PR#19684 brings possibility of having nodes coordinator-only nodes (or zero-token nodes). These types of nodes are going to be supported only in RAFT.
Such nodes, despite being registered in the cluster, do not handle any queries and should be excluded from query routing. This feature is already present in cassandra, but not merged into scylla yet, so we might want to start testing it on our drivers with cassandra first.
Difference between cassandra and scylla implementation
Major difference is that these nodes are absent from
system.peers
andsystem.peers_v2
in cassandra, while in scylla implementation these nodes are going to be present there.Due to this fact we will need to test Apache and datastax drivers against
scylla
as well.Approx. Testing plan
Regular cluster
join_ring
tofalse
in it's configuration, or adding-Dcassandra.join_ring=false
to cli (cassandra only).zero-token
node does not participate in the routingzero-token
nodezero-token
node presence.Cluster that starts with zero-token node
no host available
error.Links
Original umbrella issue in
scylladb/scylladb
repo: https://github.com/scylladb/scylladb/issues/19693 Core issue to bringjoin_ring
option into scylla: https://github.com/scylladb/scylladb/issues/6527 PR that brings this feature in https://github.com/scylladb/scylladb/pull/19684