[jira] Commented: (CASSANDRA-1857) nodetool has invalidaterowcache but no invalidatekeycache
[ https://issues.apache.org/jira/browse/CASSANDRA-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12980879#action_12980879 ] Hudson commented on CASSANDRA-1857: --- Integrated in Cassandra-0.7 #154 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/154/]) Add ability to invalidate row/key caches from nodetool. Patch by Jon Hermes, reviewed by brandonwilliams for CASSANDRA-1857 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 Fix For: 0.7.1 Attachments: 1857.txt Original Estimate: 4h Remaining Estimate: 4h 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.
[jira] Commented: (CASSANDRA-1857) nodetool has invalidaterowcache but no invalidatekeycache
[ https://issues.apache.org/jira/browse/CASSANDRA-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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.
[jira] Commented: (CASSANDRA-1857) nodetool has invalidaterowcache but no invalidatekeycache
[ https://issues.apache.org/jira/browse/CASSANDRA-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12971847#action_12971847 ] Jon Hermes commented on CASSANDRA-1857: --- Just to be clear, nodetool doesn't have this, but there is a JMX call on ColumnFamilyStores to invalidateRowCache() (due to CASSANDRA-761). 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.