Hi,
I'm using cassandra-driver==3.7.1
Relevant Cassandra code:
create keyspace bile with replication = { ‘class’ : ‘SimpleStrategy’, ‘replication_factor’ : 2 };
CLUSTER = Cluster(['cassandra01.xxx.xxx', 'cassandra02.xxx.xxx',
'cassandra03.xxx.xxx', 'cassandra04.xxx.xxx'], port=9042)
SESSION = CLUSTER.connect('bile')
SESSION.execute('USE bile')
SESSION.execute(
"""
INSERT INTO abc (id, datetimestamp, xyz)
VALUES (%s, %s, %s)
""", (int(cas_id), cas_dt, mdata))
If I stooped one node the driver is going to wait until all cluster is up again but by default using CL=ONE.
How can I workaround this?
Thanks in advance.