Monitoring Cassandra repair means watching three layers at once: whether the repair operation itself is running and advancing, whether it finished without errors or aborts, and whether the node's repair state is actually healthy afterward—measured through nodetool repair_admin, nodetool netstats, system log metrics, JMX beans, and the system.repair and system_distributed.repair_history tables. The exact commands depend on your Cassandra version (4.x versus 5.x), whether you use Reaper or the built-in distributed repair in 5.0+, and which metrics pipeline you already run. The short version: use the built-in admin and monitoring surfaces first, then layer Prometheus or another metrics system on top for alerting.

Start with the prerequisites that determine which monitoring path you use

Before you can pick the right commands, confirm four things. Skipping this step is the most common reason monitoring "doesn't work"—people run 3.x instructions against 5.x nodes, or query a table that doesn't exist yet.

First, establish your major version. Run nodetool version on each node. Cassandra 4.0 introduced significant repair changes (including incremental repair tracking via repair_admin), and Cassandra 5.0 added distributed, coordinator-driven repair that changes how you watch progress. Version determines whether nodetool repair_admin lists local repairs only or also distributed ones.

Second, know whether you're using the built-in repair or an external scheduler like Reaper. Reaper has its own UI and metrics endpoints and runs repairs from outside the cluster, so node-local repair monitoring may show less activity than you expect. If repairs are driven by Reaper, monitor Reaper too.

Third, confirm JMX access. Most production monitoring runs over JMX, which typically requires enabling remote JMX or using a JMX exporter sidecar. Without JMX, you're limited to nodetool output, log grepping, and querying system tables.

Fourth, check that the relevant system tables are present and readable. system.repair exists on modern versions; system_distributed.repair_history stores completed parent repair sessions when repairs are recorded there. A SELECT * FROM system_distributed.repair_history LIMIT 5; tells you whether history is populating at all. If it's empty on a cluster that has clearly repaired, your repair service isn't writing history—itself a finding worth investigating.

With those four facts established, the monitoring steps below apply in order.

Step 1: Watch the repair operation as it runs

Use nodetool repair_admin to list and track repair sessions

On versions that support it, nodetool repair_admin list shows known repairs with their IDs, state, and options. For a specific repair you can follow it by ID, and nodetool repair_admin includes subcommands for listing and describing in-progress sessions. The practical success check: the session appears, its state advances from a started/running state toward success, and the session ID you're tracking matches the one in your logs. If a session disappears without a completion record, treat that as an abort to investigate rather than a success.

Remember the scope limitation: by default this reflects repairs the node knows about. On 5.0+, where distributed repair coordinates across nodes, check the coordinator or use repair_admin features that report distributed sessions; don't assume a quiet node means nothing is happening cluster-wide.

Use nodetool netstats for live streaming progress

nodetool netstats shows active streaming sessions, including repair-related streams, with progress in bytes or percentages depending on version and context. It's the fastest live view of "is data actually moving?" The success check is movement: progress figures should change between two calls a minute apart. If netstats shows a repair session open but no bytes advancing for many minutes, you likely have a stalled stream—often a network, disk, or compaction-pressure problem on the receiving side—not a healthy slow repair.

A caution on interpretation: netstats per-node views describe streams this node participates in. In a multi-node repair, each participant shows its own side. Watching only one node can make a healthy repair look stalled or vice versa.

Read the system log for repair lifecycle events

Cassandra logs repair start, session milestones, and completion or failure at INFO and above, typically with the repair session ID. Tail the logs (tail -f on system.log) and filter for repair-related lines while a repair runs. The success check: you see a start event, progress or validation messages, and a completion or success message referencing the same session ID. A session that starts and never logs completion, or logs an error referencing validation failure, is your signal to dig in.

Logs are also where you catch the difference between "repair ran" and "repair did what you wanted." A repair can complete with validation compaction failures on specific tables, which logging will show even though the session technically ends.

Step 2: Validate that the repair actually completed successfully

Watching progress is necessary but not sufficient. A repair can finish its streaming and still fail validation, abort midway, or complete while leaving certain ranges unrepaired.

Query repair history tables

system_distributed.repair_history records completed parent repair sessions (in clusters where repair history recording is enabled and functioning). Query it for recent rows, including the keyspace, column families, ranges, and timestamps. The success check: a row exists for the repair you just ran, with a timestamp matching the run and the expected keyspace scope. Rows for the right keyspace but wrong time window suggest a different repair or a scheduling mismatch.

system.repair on 4.x and later tracks repair state per node, including parent and sibling repair information used to coordinate repairs. It's useful for answering "what does this node think its repair state is?" but it is not a user-friendly history—expect to interpret IDs and status fields rather than read a clean log.

Distinguish "completed" from "succeeded with validation"

Validation compaction happens after streaming and is where many repairs actually fail. Look for validation-related errors in the logs and in nodetool output. If validation fails on a table, the repair did not achieve its goal for that table even though streaming finished. The right response is to note the affected table, check for underlying instability (disk pressure, frequent compactions, node flapping), and schedule a targeted repair—not to declare the cluster repaired.

This is also where monitoring in one place misleads: a session marked complete at the coordinator can coexist with a validation failure on a replica. Cross-check logs on multiple participating nodes for the same session ID.

Verify anti-entropy goals with nodetool repair status surfaces and metrics

Repair's purpose is convergence: after a successful repair, replicas should agree for the repaired ranges. The practical verification is indirect—there is no single "percent converged" metric. Instead, rely on (a) successful session records, (b) absence of validation failures, (c) falling read-repair and hinted-handoff activity afterward, and (d) metrics described in the next section trending toward baseline. Trending read repairs after a full repair is a legitimate check: if they stay abnormally high, either the repair didn't cover the affected ranges or the workload is continuously diverging faster than repairs fix it.

Step 3: Instrument JMX and metrics for ongoing visibility

Point-in-time nodetool checks tell you what's happening now. Production monitoring needs time series so you can see repair cadence, duration, and failure patterns.

Which JMX metrics matter for repair

The repair-relevant JMX surface centers on these areas:

Repair session completion and failure counts, so you can alert on failures rather than discover them by reading logs. Active repair tasks and repair task counts per keyspace/table, which show duration and concurrency. Validation compaction activity, which spikes during repair and helps you correlate slowdowns. Streaming metrics (bytes and throughput for repair streams), which expose stalled or unusually slow data movement. Compaction and pending-compaction metrics, because repairs often trigger or collide with compaction pressure; a repair that coincides with a pending-compaction backlog is a common cause of stalls.

If you run a JMX exporter, scrape these to Prometheus and graph them. The alerting rules that matter most: any repair failure count increase, repair tasks running longer than your baseline window, and repair streams with flat throughput for an extended period.

Pair repair metrics with the signals that explain them

Repair metrics alone tell you something went wrong but not why. Correlate with:

Disk utilization and compaction backlog on each node. GC pauses, since long pauses break session timeouts. Network throughput and latency between data centers. Node liveness and gossip state, because a node that flaps mid-repair forces retries and failures.

A repair that fails repeatedly at the same time each night on the same node, correlated with a compaction wave, is a capacity problem, not a repair-setting problem. Fixing it means adjusting repair concurrency, scheduling around compaction, or adding I/O headroom.

Alert on cadence, not just failures

Failure alerts catch incidents, but stale-repair alerts catch silent decay. Track the age of the most recent successful repair per keyspace per node and alert when it exceeds your gc_grace_seconds budget for tables where deleted data must not resurrect. The commonly recommended target is to complete repairs more frequently than gc_grace_seconds (default 10 days, often lowered to 3 days or similar in practice) on tables with deletes. A node that hasn't had a successful repair for longer than gc_grace_seconds is a data-resurrection risk—that's the alert that prevents incidents rather than merely reporting them.

Step 4: Monitor the external pieces—scheduler, history, and cluster topology

If Reaper drives repair, monitor Reaper as a first-class system

Reaper schedules and runs repairs from a central instance. Monitor its own health (process up, API responsive), its repair run records (started, finished, failed statuses, segment outcomes), and its metrics endpoint. The success check: repair runs in Reaper show FINISHED status with all segments done, and node-local monitoring agrees. If Reaper reports success but a node's logs show validation failure, trust the node logs for data-integrity conclusions and treat the mismatch as a defect to investigate, not a success.

Reaper failures often come from its own access (JMX connectivity to nodes, credentials) rather than from Cassandra itself, so include Reaper's connection health in your dashboard.

Pay attention to topology changes and their effect on repair

Adding or removing nodes changes which ranges need repair and can invalidate an in-flight repair's assumptions. Monitor topology events (node joins, leaves, decommission, movements) alongside repair status and expect a repair cadence reset after significant changes. A repair that started before a topology change may complete with incomplete coverage relative to the new ring; re-run after the topology settles.

Check that repair history recording keeps working

The system_distributed.repair_history table and related repair state depend on the repair service writing records. Periodically assert that a completed repair produced history rows, especially after upgrades or configuration changes. If recording silently stops, your history-based alerts will miss runs, and you'll believe repairs happen that don't.

Worked example: tracing one repair end to end

Suppose you run a nightly repair on a 5-node, single-datacenter, 4.x cluster with Reaper. Here's the monitoring trace and expected results, with illustrative thresholds rather than measured lab values:

At 02:00, Reaper starts a repair run for keyspace orders. Reaper's run status goes to running. On each node, nodetool repair_admin list shows the active session and nodetool netstats shows repair streams with progressing bytes. Logs on each participating node show session start lines with the same session ID. Through the run, compaction and validation spikes appear in JMX metrics. If one node's repair stream throughput sits near zero for more than about five minutes while others progress, you mark that node as suspect. At completion, Reaper marks segments finished. You confirm system_distributed.repair_history has a fresh row for orders covering the expected window, and each node's logs show success without validation errors. The alert check: repair failures metric stayed flat, repair-task duration stayed under the baseline (say, 90 minutes for this table), and most-recent-successful-repair age for orders reset to zero.

Failure variants change the trace:

Stream stall on one node: netstats flat, no completion log, Reaper run hangs. First reversible check: confirm the node is alive and has disk and compaction headroom; restart the repair rather than the node if possible. Validation failure on one table: logs show validation errors, Reaper may show finished segments while the table is not converged. Schedule a targeted repair for that table after addressing instability. History row missing: the repair may have run but recording is broken. Confirm recording works on a known-good repair before trusting history-based alerts.

Common monitoring failures and how to distinguish them

Quiet monitoring during a coordinated repair. On 5.0+ distributed repair, a node may not show a local session while the cluster-wide repair proceeds. Check the coordinator or the distributed repair view, not just local repair_admin output.

Apparent success at the wrong layer. Reaper success with node validation failures, or coordinator completion with replica-side errors, both mean the repair didn't achieve convergence. Always cross-check at least two layers—scheduler plus node logs, or history table plus node logs—before concluding success.

Stale-history blindness. If system_distributed.repair_history stops receiving rows after an upgrade or config change, history-based alerts go blind. Assert recording works after every upgrade.

Alert fatigue from duration thresholds. Repair duration naturally scales with data volume and cluster churn. Baseline per keyspace and alert on deviations from that baseline, not a single global duration.

When to stop investigating and escalate

Stop local troubleshooting and involve your platform or database team—or the vendor support path for your distribution—when: repairs fail validation repeatedly across multiple nodes despite healthy disk, network, and GC signals; repair history recording cannot be restored with configuration checks; you suspect a data-integrity problem (deleted data reappearing, divergence between replicas after nominally successful repairs); or topology changes leave you unable to establish a trustworthy repair state. Those conditions exceed routine monitoring fixes and need coordinated investigation before more repairs are scheduled.

FAQ

Does nodetool repair itself tell me progress? The repair command blocks and reports high-level phases rather than a percentage bar. Use nodetool netstats and repair_admin for live progress, and logs for lifecycle events. Treat the command's exit as a phase boundary, not proof of convergence.

How often should I monitor repair? Continuously via metrics and alerts for failures and repair age, plus spot checks after every scheduled repair run. The critical threshold is repair age approaching gc_grace_seconds for tables with deletes.

What's the single most misleading signal? A repair marked complete at the scheduler or coordinator while node logs show validation failure. Completion status is not success; validation and history records are the better proof.

Do I need Reaper to monitor repair at all? No—nodetool admin, logs, JMX, and history tables work without it. Reaper is a scheduler with its own monitoring; if you use it, monitor it, but it isn't a prerequisite for repair visibility.