-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The idea behind ShutdownSignal is that we can use signals to gracefully stop workflows, in practice this doesn't work 1. DROP MIRROR is a 1 minute timeout for shutdown to stop workflow, in cdc I had us cut off early, but even waiting for normalize to finish is too much for 1 minute 2. Signal isn't checked by flows until they reach main loop, in theory they could check, but in effect you're doubling the existing context error code Solution: go straight to workflow cancelation. If graceful shutdown is desired (ie, finishing current syncs, finishing normalization), pause mirror before drop
- Loading branch information
Showing
8 changed files
with
48 additions
and
126 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
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
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.