Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13728

Provide max hint window as part of nodetool

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 4.0
    • Component/s: Tool/nodetool
    • Labels:

      Description

      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:

      [centos@cassandra-node]$ nodetool statushandoff
      Hinted handoff is running
      

      The output could be improved to look like this:

      [centos@cassandra-node]$ nodetool statushandoff
      Hinted handoff is running with max hint window (ms): 10800000
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                varung Varun Gupta
                Reporter:
                milansm Milan Milosevic
                Authors:
                Varun Gupta
                Reviewers:
                Jeff Jirsa
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: