databendlabs / openraft

rust raft with improvements
Apache License 2.0
1.41k stars 158 forks source link

Fix: (0.10) Ensure `Respond` Waits for IO Completion #1180

Closed drmingdrmer closed 4 months ago

drmingdrmer commented 4 months ago

Changelog

Fix: (0.10) Ensure Respond Waits for IO Completion

This commit addresses the premature sending of Respond messages in response to AppendEntries RPCs and similar requests. Previously, responses could be sent before the associated IO operations were confirmed as complete, potentially leading to inconsistencies.

Changes:


This change is Reviewable