-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only send flushes when Downstairs is idle; send Barrier otherwise (#1505
) This PR removes automatic flushes, per [RFD 518]. Instead, the new `Barrier` operation is sent. If the system is idle for a particular amount of time, we send a final `Flush` to put everything into a known state. When the Upstairs retires jobs after a barrier operation, the system as a whole becomes ineligible for replay. This state determines whether the new Downstairs reconnects through `Offline` (which does replay) or `Faulted` (which does live-repair instead). Removing automatic flushes is a noticeable performance improvement; see the PR for details.
- Loading branch information
Showing
5 changed files
with
396 additions
and
85 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
Oops, something went wrong.