cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10396) Simplify row cache invalidation code
Date Thu, 24 Sep 2015 20:29:04 GMT

    [ 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)

Mime
View raw message