Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

nodetool setmaxhintwindow

Sets the maximum hint window in milliseconds.


Terminal window
nodetool [connection_options] setmaxhintwindow <hint_window_in_ms>

See connection options for connection options.

nodetool setmaxhintwindow configures the maximum duration for which hints will be stored for an unavailable node. Hints for nodes down longer than this window are not stored.


ArgumentDescription
hint_window_in_msMaximum hint window in milliseconds

Terminal window
nodetool setmaxhintwindow 21600000
Terminal window
nodetool setmaxhintwindow 3600000
Terminal window
nodetool setmaxhintwindow 21600000
nodetool getmaxhintwindow

DurationMilliseconds
1 hour3600000
3 hours (default)10800000
6 hours21600000
12 hours43200000
24 hours86400000

Terminal window
# Increase for maintenance windows
nodetool setmaxhintwindow 43200000 # 12 hours
Terminal window
# Shorter window = less hint storage
nodetool setmaxhintwindow 3600000 # 1 hour

Hint Window Guidelines

  1. Balance - Longer window = more disk, better coverage
  2. Consider SLAs - Set based on recovery expectations
  3. Cluster-wide - Apply same setting on all nodes
  4. Persist in config - Update cassandra.yaml for permanence

CommandRelationship
getmaxhintwindowView current setting
listpendinghintsView pending hints