feat(simulator): drive the workload under network and replica faults - #3942
Open
krishvishal wants to merge 2 commits into
Open
feat(simulator): drive the workload under network and replica faults#3942krishvishal wants to merge 2 commits into
krishvishal wants to merge 2 commits into
Conversation
krishvishal
force-pushed
the
sim-workload-faults
branch
from
August 21, 2026 06:20
e5cc7ba to
f53b33c
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3942 +/- ##
============================================
+ Coverage 83.93% 84.21% +0.28%
Complexity 1358 1358
============================================
Files 1213 1216 +3
Lines 168441 170526 +2085
Branches 135999 138209 +2210
============================================
+ Hits 141373 143615 +2242
+ Misses 23389 23047 -342
- Partials 3679 3864 +185
🚀 New features to boost your workflow:
|
krishvishal
force-pushed
the
sim-workload-faults
branch
from
August 24, 2026 07:15
f53b33c to
bc29761
Compare
krishvishal
force-pushed
the
sim-workload-faults
branch
from
August 24, 2026 10:37
bc29761 to
6270893
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Faults:
swarm), or taken as a named profile. Per-command delivery counters report what a run reached.FaultInjectorcrashes and restarts replicas behind stability windows, so a crash lasts long enough to need repair.SimJournalhonours a slot count, drains on checkpoint, advances its snapshot watermark.RangeEvictedand state transfer were unreachable while it answered a constant 0.commit_offset0, tripping the monotonicity invariant on a harness artefact.Oracles:
settle_to_stable_viewbefore the leader-relative asserts. A failed drain reports what is outstanding and what each live replica believes.Two real bugs found:
consumer_kindasu8::from(bool), so half of every request carried kind 0.WireConsumerrejects it, the partition plane drops the frame with no reply, and the client wedges.on_start_viewadopts the announced head before bodies arrive, so the backup refused the prepare that would heal its log. The op never reaches quorum and the client is never answered. This affected any rejoining replica.