cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10485) Missing host ID on hinted handoff write
Date Wed, 11 Nov 2015 23:14:11 GMT


Paulo Motta commented on CASSANDRA-10485:

bq. If we submit a hint to an endpoint that left, when will the hint be cleaned up and discarded?
Is there a race there?

The race window is very small, the node needs to be removed exactly between getting the ID
from TokenMetadata and the hint being actually written by the HintsManager. If that happens,
on 2.1 and 2.2 the hint will expire by ttl after gc_grace_seconds. On 3.0+, a hint file might
be created for the removed node, and needs to be removed manually or via nodetool truncatehints.

Fixed minor nit and removed {{isMemberJoining}} assertion. Tests were resubmitted and seem


> Missing host ID on hinted handoff write
> ---------------------------------------
>                 Key: CASSANDRA-10485
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>             Fix For: 2.1.x, 2.2.x, 3.0.x
> when I restart one of them I receive the error "Missing host ID":
> {noformat}
> WARN  [SharedPool-Worker-1] 2015-10-08 13:15:33,882
- Uncaught exception on thread Thread[SharedPool-Worker-1,5,main]: {}
> java.lang.AssertionError: Missing host ID for
>         at org.apache.cassandra.service.StorageProxy.writeHintForMutation(
>         at org.apache.cassandra.service.StorageProxy$6.runMayThrow(
>         at org.apache.cassandra.service.StorageProxy$
>         at java.util.concurrent.Executors$ ~[na:1.8.0_60]
>         at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$
>         at [apache-cassandra-2.1.3.jar:2.1.3]
>         at [na:1.8.0_60]
> {noformat}
> If I made nodetool status, the problematic node has ID:
> {noformat}
> UN  1.3 TB     1       ?       4d5c8fd2-a909-4f09-a23c-4cd6040f338a  rack3
> {noformat}

This message was sent by Atlassian JIRA

View raw message