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

Reply via email to