You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "C. Scott Andreas (JIRA)" <ji...@apache.org> on 2018/11/19 01:39:00 UTC
[jira] [Resolved] (CASSANDRA-13761) truncatehints cant't delete
all hints
[ https://issues.apache.org/jira/browse/CASSANDRA-13761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
C. Scott Andreas resolved CASSANDRA-13761.
------------------------------------------
Resolution: Information Provided
> truncatehints cant't delete all hints
> --------------------------------------
>
> Key: CASSANDRA-13761
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13761
> Project: Cassandra
> Issue Type: Bug
> Environment: 3.0.14
> java version "1.8.0_131"
> Reporter: huyx
> Priority: Minor
>
> step1
> Execute nodetool truncatehints on node A , no print any log. when restart the down node B,
> A print:
> INFO [HintsDispatcher:1] 2017-08-10 18:27:01,593 HintsStore.java:126 - Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints
> INFO [HintsDispatcher:1] 2017-08-10 18:27:01,595 HintsDispatchExecutor.java:272 - Finished hinted handoff of file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502360551290-1.hints to endpoint /10.71.0.14,
> and B data is repaired。
> step2:
> I change the cassandra.yaml max_hints_file_size_in_mb=1, and insert data to cluster.
> Execute nodetool truncatehints on node A,A print:
> INFO [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,164 HintsStore.java:126 - Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443243250-1.hints
> INFO [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,165 HintsStore.java:126 - Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443273261-1.hints
> INFO [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,166 HintsStore.java:126 - Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443293262-1.hints
> INFO [RMI TCP Connection(20)-10.71.0.12] 2017-08-11 17:22:51,167 HintsStore.java:126 - Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443313267-1.hints
> when restart the down node B, A print:
> Deleted hint file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443333269-1.hints
> INFO [HintsDispatcher:7] 2017-08-11 17:25:14,626 HintsDispatchExecutor.java:272 - Finished hinted handoff of file 4da2fd65-a4fe-4c0a-bf95-f818431c31bb-1502443333269-1.hints to endpoint /10.71.0.14: 4da2fd65-a4fe-4c0a-bf95-f818431c31bb
> truncatehints can't delete all hits, it will Leave one don't delete。
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org