Repository navigation
fix(partitions): finish state transfer for a replica whose view ran ahead - #4483
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #4483 +/- ##
============================================
- Coverage 90.75% 84.62% -6.13%
Complexity 2610 2610
============================================
Files 1406 1400 -6
Lines 331885 269911 -61974
Branches 283659 221686 -61973
============================================
- Hits 301209 228425 -72784
- Misses 24374 35426 +11052
+ Partials 6302 6060 -242
🚀 New features to boost your workflow:
|
# Conflicts: # core/partitions/src/iggy_partition.rs # core/server/src/partition_reconciler.rs # core/shard/src/lib.rs # core/shard/src/partition_io.rs # core/shard/src/poll/completion_tests.rs
|
/skill team-review-slim |
There was a problem hiding this comment.
Summary: Four warnings on the repair, transfer and peer-choice paths: the metadata plane still picks its repair peer by view math, tick_partitions computes repair_pull_from() every tick, repair_window_anchor re-hashes a journal batch to read one field, and the floor-moot check can miss after one capped commit walk, so a moot floor can still spend a state transfer. The view gate, the primary hint and the floor-connect logic trace sound, and no correctness defect was proven; five nits and one simplification follow.
Counts: critical 0, warning 4, nit 5, simplification 1
This review was generated by Claude Code 2.1.284 on deepseek-flash[1m]. Review the output before you act on it.
Closes #4438
Co-authored-by: Mark Aron Szulyovszky [email protected]