You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "DeepakVohra (JIRA)" <ji...@apache.org> on 2019/08/06 22:46:00 UTC

[jira] [Commented] (CASSANDRA-13728) Provide max hint window as part of nodetool

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

DeepakVohra commented on CASSANDRA-13728:
-----------------------------------------

With latest 4.0 build the output is still the same as before.

 
{code:java}
nodetool statushandoff
Hinted handoff is running
{code}
 

> Provide max hint window as part of nodetool
> -------------------------------------------
>
>                 Key: CASSANDRA-13728
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13728
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tool/nodetool
>            Reporter: Milan Milosevic
>            Assignee: Varun Gupta
>            Priority: Low
>              Labels: lhf
>             Fix For: 4.0
>
>         Attachments: Add-nodetool-cmd-to-print-hinted-handoff-window.patch
>
>
> Currently it is not possible to get max_hint_window over nodetool. The information is available through StorageProxyMBean, though. Since max hint window information is needed in order to asses what kind of failure recovery should be performed for a node that goes down (bootstrap or just restart), it would be handy if max hint window is easily accessible using nodetool.
> Currently nodetool statushandoff output is:
> {code}
> [centos@cassandra-node]$ nodetool statushandoff
> Hinted handoff is running
> {code}
> The output could be improved to look like this:
> {code}
> [centos@cassandra-node]$ nodetool statushandoff
> Hinted handoff is running with max hint window (ms): 10800000
> {code}
> Implementation is quite trivial (fetch the info from the StorageProxyMBean from the StatusHandoff class). I can provide the patch for this, if it is agreed that this it right approach.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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