cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaume M (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13952) C* still sending WriteFailure instead of CDCWriteFailure
Date Mon, 23 Oct 2017 17:42:00 GMT

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

Jaume M commented on CASSANDRA-13952:
-------------------------------------

Yes, that's what's happening, I'll close this ticket and the PR then.

> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message