-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loop shutdown should not call CancelRequest for inflight requests bec…
…ause it causes a race with the code that's executing those requests, we should simply wait until those requests complete by themselves (#1193) * loop shutdown should not call CancelRequest for inflight requests because it causes a race with the code that's executing those requests, we should simply wait until those requests complete by themselves * CompletionQueue shutdown should actually be async + fixed StopAsync bug in TBootstrap in fs_ut.cpp (Apply on a callback which returns TFuture<void> discards the future returned by the callback!) * loop shutdown: SuspendAsync ut + some tmp dbg output * loop shutdown: more tmp dbg output * loop shutdown: more tmp dbg output * loop shutdown: outputting dbg stuff under a lock, outputting dbg stuff only when ShouldStop flag is set * loop shutdown: fixed CompletingCount vs Requests.empty() checks race * loop shutdown: inflight count and completing count should be checked together atomically
- Loading branch information
Showing
2 changed files
with
156 additions
and
61 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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