Skip to content

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

nodetool setbatchlogreplaythrottle

Sets the batchlog replay throttle in KB/s.


Terminal window
nodetool [connection_options] setbatchlogreplaythrottle <throttle_in_kb>

See connection options for connection options.

nodetool setbatchlogreplaythrottle modifies the throttle rate for batchlog replay operations at runtime.


ArgumentDescription
batchlog_replay_throttleReplay throttle in KiB/s. Set to 0 to disable throttling.

Throttle Behavior

  • Setting the value to 0 disables throttling entirely
  • The effective throttle is proportionally reduced based on cluster size to prevent overwhelming recovered nodes during replay

cassandra.yaml Parameter

The corresponding cassandra.yaml parameter changed in 4.1:

Cassandra VersionParameter NameExample
Pre-4.1batchlog_replay_throttle_in_kb1024
4.1+batchlog_replay_throttle1024KiB

Terminal window
nodetool setbatchlogreplaythrottle 2048
Terminal window
nodetool setbatchlogreplaythrottle 4096

Terminal window
# Increase for faster catchup
nodetool setbatchlogreplaythrottle 4096
nodetool replaybatchlog
Terminal window
# During high load
nodetool setbatchlogreplaythrottle 512
Terminal window
# Remove throttle limit (use with caution)
nodetool setbatchlogreplaythrottle 0

CommandRelationship
getbatchlogreplaythrottleView current throttle
replaybatchlogForce replay