Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5CB04200D31 for ; Sat, 21 Oct 2017 01:53:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5B0D1160BEF; Fri, 20 Oct 2017 23:53:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A8C8F160BCB for ; Sat, 21 Oct 2017 01:53:03 +0200 (CEST) Received: (qmail 54832 invoked by uid 500); 20 Oct 2017 23:53:02 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 54816 invoked by uid 99); 20 Oct 2017 23:53:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2017 23:53:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0ACE11A09C1 for ; Fri, 20 Oct 2017 23:53:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id J0SrYjGWw4on for ; Fri, 20 Oct 2017 23:53:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 083665FBE6 for ; Fri, 20 Oct 2017 23:53:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 96490E00C9 for ; Fri, 20 Oct 2017 23:53:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5374621EE3 for ; Fri, 20 Oct 2017 23:53:00 +0000 (UTC) Date: Fri, 20 Oct 2017 23:53:00 +0000 (UTC) From: "Jeff Jirsa (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-13952) C* still sending WriteFailure instead of CDCWriteFailure MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 Oct 2017 23:53:04 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16213515#comment-16213515 ] Jeff Jirsa commented on CASSANDRA-13952: ---------------------------------------- [~JoshuaMcKenzie] - am I reading you right that this is working-as-intended and not a bug? > 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