-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flowctl: handle suspended journals when reading collections
Updates `collections read` to handle journals that are fully suspended. Previously this would result in a rather confusing error message, and the process would exit with an error even if the `--follow` flag was provided. The new behavior is to just squelch the error in the common case that `--follow=false`, so it gets treated like any other journal that doesn't have any content. In case `--follow` is provided, we use a sizable deley and just keep retrying. This also applies to `flowctl logs` and `flowctl raw stats`, which use the same code for reading collections.
- Loading branch information
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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