Open danthegoodman1 opened 21 hours ago
@danthegoodman1 , have you tried Query.SerialConsistency
?
Also if you working with ScyllaDB, it is better to submit issues at https://github.com/scylladb/gocql
@dkropachev sorry I was inspecting this issue more at the package level, it seems like they support it https://github.com/scylladb/gocql/blob/master/frame.go#L187-L188 but this package does not (which is strange, considering cassandra supports it: https://docs.datastax.com/en/cql/hcd-1.0/reference/cqlsh-commands/consistency.html#setting-a-consistency-level)
Please answer these questions before submitting your issue. Thanks!
What version of Cassandra are you using?
ScyllaDB
What version of Gocql are you using?
1.7.0
What version of Go are you using?
1.22.5
The
.Consistency
options don't allow for settingSERIAL
orLOCAL_SERIAL
, despite them being supported by both Cassandra and Scylla for reads to use Paxos.Because the driver does not allow you to
session.Query("CONSISTENCY SERIAL").Exec()
(get's errorno viable alternative at input 'CONSISTENCY'
), it seems to be currently impossible to set SELECT consistency to SERIAL