• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

databendlabs / openraft / 28315527545

28 Jun 2026 07:41AM UTC coverage: 86.993% (+0.01%) from 86.979%
28315527545

push

github

drmingdrmer
fix: avoid blocking RaftCore on closed replication

# Summary

Removed replication tasks are now signaled and joined asynchronously, so
a hung follower RPC cannot stop RaftCore from processing membership
changes or new writes.

# Details

Replication progress notifications now carry the stream id at the
notification level. RaftCore forwards that id to the replication
handler, which ignores stale progress from detached tasks after a stream
has been replaced.

The replication response loop now also watches the close signal while
waiting for responses, allowing cooperative shutdown when the transport
future is still polling.

- Fix: #1810

40 of 41 new or added lines in 6 files covered. (97.56%)

5 existing lines in 3 files now uncovered.

17042 of 19590 relevant lines covered (86.99%)

161502.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

98.35
/openraft/src/engine/handler/replication_handler/mod.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc