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 82A2A18639 for ; Thu, 24 Sep 2015 20:29:07 +0000 (UTC) Received: (qmail 16101 invoked by uid 500); 24 Sep 2015 20:29:04 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 16057 invoked by uid 500); 24 Sep 2015 20:29:04 -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 16040 invoked by uid 99); 24 Sep 2015 20:29:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2015 20:29:04 +0000 Date: Thu, 24 Sep 2015 20:29:04 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10396) Simplify row cache invalidation code 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-10396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906948#comment-14906948 ] Jonathan Ellis commented on CASSANDRA-10396: -------------------------------------------- github.com/jbellis/cassandra/commits/10396 (note that the logic of "is rowcache enabled" is a superset of "is this a 2i" since 2i will never have rowcache enabled) > Simplify row cache invalidation code > ------------------------------------ > > Key: CASSANDRA-10396 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10396 > Project: Cassandra > Issue Type: Task > Components: Core > Reporter: Jonathan Ellis > Assignee: Jonathan Ellis > Priority: Trivial > Fix For: 2.2.x > > > CFS.maybeUpdateRowCache and CFS.invalidateRowCache are nearly identical, except the latter does some unnecessary extra work looking up CFID. -- This message was sent by Atlassian JIRA (v6.3.4#6332)