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 3B570200B5B for ; Fri, 5 Aug 2016 23:17:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3A0A9160A8E; Fri, 5 Aug 2016 21:17:22 +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 82AED160A64 for ; Fri, 5 Aug 2016 23:17:21 +0200 (CEST) Received: (qmail 53887 invoked by uid 500); 5 Aug 2016 21:17:20 -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 53855 invoked by uid 99); 5 Aug 2016 21:17:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Aug 2016 21:17:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 779AE2C0D5E for ; Fri, 5 Aug 2016 21:17:20 +0000 (UTC) Date: Fri, 5 Aug 2016 21:17:20 +0000 (UTC) From: "Tyler Hobbs (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12311) Propagate TombstoneOverwhelmingException to the client MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 05 Aug 2016 21:17:22 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410079#comment-15410079 ] Tyler Hobbs commented on CASSANDRA-12311: ----------------------------------------- Your latest patch looks good, thank you. bq. I took a look at the dtests but, since this changes the encoding for the client facing protocol, won't the python driver will need to be changed first to recognize the new failure code map? Ah, yes, that's a good point. If you're comfortable with python and would like to open a pull request to add support for this, please feel free to. Otherwise, I can take care of that pretty quickly. (Note: any driver work would need to be on top of https://github.com/datastax/python-driver/pull/640 for general protocol v5 support.) > Propagate TombstoneOverwhelmingException to the client > ------------------------------------------------------ > > Key: CASSANDRA-12311 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12311 > Project: Cassandra > Issue Type: Improvement > Reporter: Geoffrey Yu > Assignee: Geoffrey Yu > Priority: Minor > Labels: client-impacting, doc-impacting > Fix For: 4.x > > Attachments: 12311-trunk-v2.txt, 12311-trunk-v3.txt, 12311-trunk-v4.txt, 12311-trunk-v5.txt, 12311-trunk.txt > > > Right now if a data node fails to perform a read because it ran into a {{TombstoneOverwhelmingException}}, it only responds back to the coordinator node with a generic failure. Under this scheme, the coordinator won't be able to know exactly why the request failed and subsequently the client only gets a generic {{ReadFailureException}}. It would be useful to inform the client that their read failed because we read too many tombstones. We should have the data nodes reply with a failure type so the coordinator can pass this information to the client. -- This message was sent by Atlassian JIRA (v6.3.4#6332)