cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-11168) Hint Metrics are updated even if hinted_hand-offs=false
Date Tue, 01 Mar 2016 16:14:18 GMT


Aleksey Yeschenko commented on CASSANDRA-11168:

I don't think this really matters. That said, I'm slightly inclined towards making the suggested
change (only increment if hints are both enabled and past window).

> Hint Metrics are updated even if hinted_hand-offs=false
> -------------------------------------------------------
>                 Key: CASSANDRA-11168
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Anubhav Kale
>            Assignee: Anubhav Kale
>            Priority: Minor
>         Attachments: 0001-Hinted-Handoff-Fix.patch
> In our PROD logs, we noticed a lot of hint metrics even though we have disabled hinted
> The reason is StorageProxy.ShouldHint has an inverted if condition. 
> We should also wrap the if (hintWindowExpired) block in if (DatabaseDescriptor.hintedHandoffEnabled()).
> The fix is easy, and I can provide a patch.

This message was sent by Atlassian JIRA

View raw message