cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blake Eggleston (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-11090) Hinted Handoff loop
Date Mon, 08 Feb 2016 23:36:40 GMT


Blake Eggleston commented on CASSANDRA-11090:

Functionally, this is fine, but could you're checking iterator.hasNext twice. Could you move
the flushInternal call under the original hasNext check? So it looks like this:

if (!iterator.hasNext())
flushInternal(iterator, store);

> Hinted Handoff loop
> -------------------
>                 Key: CASSANDRA-11090
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Blake Eggleston
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>             Fix For: 3.0.x, 3.x
> After the hints executor finishes sending hints, another hints file is created for the
same host, which is then processed on the next go around. This continues indefinitely. The
new hint files are empty, so there shouldn't be any network traffic. However, there's still
unnecessary hint activity, and the hint crc file isn't deleted in the 3.0 branch after hints
are dispatched (but is in trunk), so any hint activity will trigger ~8640 files being created
per day until the node is restarted. Restarting the node fixes the problem, after the existing
hint files are processed. 
> This can be duplicated on cassandra-3.0 to trunk with this script:

This message was sent by Atlassian JIRA

View raw message