Closed Kulezi closed 2 years ago
Prepare now prepares on all nodes, once per node, as sources suggest: https://github.com/apache/cassandra/blob/adcff3f630c0d07d1ba33bf23fcb11a6db1b9af1/doc/native_protocol_v4.spec#L738-L740 https://github.com/scylladb/scylladb/blob/4d24097b4b86d484159c011f46b9e43268d342d1/transport/server.cc#L941-L950
Also made the driver fallback from token aware policy to round robin if both session keyspace and query keyspace are unspecified, this is a temporary fix until #257 is resolved.
Applied changes suggested by @piodul, also removed leaking goroutines from TLS integration test caused by unclosed session.
Prepare now prepares on all nodes, once per node, as sources suggest: https://github.com/apache/cassandra/blob/adcff3f630c0d07d1ba33bf23fcb11a6db1b9af1/doc/native_protocol_v4.spec#L738-L740 https://github.com/scylladb/scylladb/blob/4d24097b4b86d484159c011f46b9e43268d342d1/transport/server.cc#L941-L950
Also made the driver fallback from token aware policy to round robin if both session keyspace and query keyspace are unspecified, this is a temporary fix until #257 is resolved.