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

Provide max hint window as part of nodetool

    XMLWordPrintableJSON

Details

    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

              varung Varun Gupta
              milansm Milan Milosevic
              Varun Gupta
              Jeff Jirsa
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: