Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32BFB10D7C for ; Fri, 6 Mar 2015 22:38:41 +0000 (UTC) Received: (qmail 33898 invoked by uid 500); 6 Mar 2015 22:38:39 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 33820 invoked by uid 500); 6 Mar 2015 22:38:39 -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 33610 invoked by uid 99); 6 Mar 2015 22:38:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2015 22:38:39 +0000 Date: Fri, 6 Mar 2015 22:38:39 +0000 (UTC) From: "Robert Stupp (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8930) Add a warn notification for clients MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14351054#comment-14351054 ] Robert Stupp commented on CASSANDRA-8930: ----------------------------------------- If the warning is just for "too big batches", it could be handled more efficiently on the driver side. E.g. by enabling some "fail/log on batches larger than X bytes" on the driver's {{Session}} object. It could be turned on during development and testing - and disabled in production. > Add a warn notification for clients > ----------------------------------- > > Key: CASSANDRA-8930 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8930 > Project: Cassandra > Issue Type: Sub-task > Reporter: Carl Yeksigian > Labels: protocolv4 > Fix For: 3.0 > > > Currently, if a query generates a warning, it is going to be logged server side. If the person writing the query is not the admin, that warning isn't going to have an impact on the query, and we're just going to fill up the server logs. > We should push these warnings back to the client so the driver users can make necessary changes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)