cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huyx (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13761) truncatehints cant't delete all hints
Date Wed, 16 Aug 2017 09:07:00 GMT

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

huyx commented on CASSANDRA-13761:
----------------------------------

ok,thank you.

> 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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message