cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Coli (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-1857) nodetool has "invalidaterowcache" but no "invalidatekeycache"
Date Thu, 16 Dec 2010 20:25:02 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972199#action_12972199
] 

Robert Coli commented on CASSANDRA-1857:
----------------------------------------

My copy of nodeprobe has :

   else if (cmdName.equals("invalidaterowcache"))
   {
             if (cmd.getArgs().length != 3)
             {
                 System.err.println("invalidaterowcache requires keyspace and column family
name arguments");
             }
             String tableName = cmd.getArgs()[1];
             String cfName = cmd.getArgs()[2];
             probe.invalidateRowCache(tableName, cfName);
   }


> nodetool has "invalidaterowcache" but no "invalidatekeycache"
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-1857
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1857
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Robert Coli
>            Assignee: Jon Hermes
>            Priority: Trivial
>
> In many cases where you would want to use "invalidaterowcache", you would probably also
want to "invalidatekeycache". Currently, you can "invalidaterowcache", but not "invalidatekeycache".
It seems that users should, generally, be able to do both or neither, but not one or the other.
A brief look at the NodeCmd/ColumnFamilyStore code suggests that the stubs/hooks for this
feature do not currently exist.
> =Rob

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message