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 1E35210F22 for ; Sat, 21 Sep 2013 02:30:52 +0000 (UTC) Received: (qmail 77732 invoked by uid 500); 21 Sep 2013 02:30:52 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 77708 invoked by uid 500); 21 Sep 2013 02:30:51 -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 77699 invoked by uid 99); 21 Sep 2013 02:30:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Sep 2013 02:30:51 +0000 Date: Sat, 21 Sep 2013 02:30:51 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-4736) Cassandra should expose a native existence check API 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-4736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773691#comment-13773691 ] Jonathan Ellis commented on CASSANDRA-4736: ------------------------------------------- My point is that the performance difference between {{SELECT foo}} and {{SELECT exists(foo)}} is small, unless foo is a blob. > Cassandra should expose a native existence check API > ---------------------------------------------------- > > Key: CASSANDRA-4736 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4736 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: sankalp kohli > Priority: Minor > Labels: features > > Currently Cassandra does not have an existence check API. Because of this, data needs to be read and thats how you know whether data is present or not. > This is not optimal because one replica needs to provide data. Instead a new API could be exposed where each replica only sends out hash of the data. Repairs and other stuff can happen like a normal read call. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira