You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2013/10/07 23:51:42 UTC

[jira] [Commented] (CASSANDRA-6158) Nodetool command to purge hints

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

Brandon Williams commented on CASSANDRA-6158:
---------------------------------------------

bq.  Also ability to selectively remove hints by host or DC

We already have half of that:

{noformat}
    public void deleteHintsForEndpoint(final String host);
{noformat}

But doing it by DC is a lot more intensive, since we'll have to iterate all the hints and check the DC.

> Nodetool command to purge hints
> -------------------------------
>
>                 Key: CASSANDRA-6158
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6158
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: sankalp kohli
>            Priority: Minor
>
> The only way to truncate all hints in Cassandra is to truncate the hints CF in system table. 
> It would be cleaner to have a nodetool command for it. Also ability to selectively remove hints by host or DC would also be nice rather than removing all the hints. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)