Skip to content

Conversation

@shailendra-patel
Copy link
Contributor

Previously, roachprod chaos commands only supported network failures (partitions and latency). There was no CLI support for injecting disk stalls to test CockroachDB's storage resilience.

This commit adds a new roachprod chaos disk-stall command that integrates with the existing failure injection library to inject disk I/O stalls using cgroups v2.

Example usage:

roachprod chaos disk-stall mycluster --type cgroup --nodes 1,2,3

roachprod chaos disk-stall mycluster --type cgroup --nodes 1 --insecure

Epic: none

Release note: None

Previously, roachprod chaos commands only supported network failures
(partitions and latency). There was no CLI support for injecting disk
stalls to test CockroachDB's storage resilience.

This commit adds a new `roachprod chaos disk-stall` command that
integrates with the existing failure injection library to inject disk
I/O stalls using cgroups v2.

Example usage:
```
roachprod chaos disk-stall mycluster --type cgroup --nodes 1,2,3

roachprod chaos disk-stall mycluster --type cgroup --nodes 1 --insecure
```

Epic: none

Release note: None
@shailendra-patel shailendra-patel requested a review from a team as a code owner November 28, 2025 04:55
@shailendra-patel shailendra-patel requested review from nameisbhaskar and williamchoe3 and removed request for a team November 28, 2025 04:55
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants