[ 
https://issues.apache.org/jira/browse/CASSANDRA-13952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16215412#comment-16215412
 ] 

Andy Tolbert commented on CASSANDRA-13952:
------------------------------------------

Just to clarify your last comment, are you ok with this returning 
{{WriteFailureException}} with a reason code (the way it currently works), or 
do you want there to be a new error type?

I prefer the former since it seems to be a good fit and doesn't require any 
client changes.

> C* still sending WriteFailure instead of CDCWriteFailure
> --------------------------------------------------------
>
>                 Key: CASSANDRA-13952
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13952
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jaume M
>            Assignee: Jaume M
>             Fix For: 4.0
>
>
> I've tested this setting setting cdc_total_space_in_mb: 1 and  with the 
> current python driver master
> {code}
> from cassandra.cluster import Cluster
> cluster = Cluster(protocol_version=5, allow_beta_protocol_version=True)
> session = cluster.connect()
> session.execute("""
>     CREATE KEYSPACE IF NOT EXISTS %s
>     WITH replication = { 'class': 'SimpleStrategy', 'replication_factor': '2' 
> }
>     """ % "query_per_range")
> session.execute("""
>     CREATE TABLE IF NOT EXISTS query_per_range.mytable_int (
>         key_one int,
>         key_two int,
>         col1 text,
>         col2 text,
>         PRIMARY KEY ((key_one, key_two), col1)
>     )  WITH cdc=true;
>     """)
> for i in range(10000000):
>     session.execute("INSERT INTO query_per_range.mytable_int(key_one, 
> key_two, col1, col2) VALUES (%s, %s, %s, %s)",
>             (i, i, str(i), str(i)))
> {code}
> I'm receiving a {{WriteFailure}} every time but I was expecting a 
> {{CDCWriteFailure}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to