Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes a couple of issues in
gazctl
subcommands regarding missing FSM hints for recovery logs.See individual commit messages.
I tested these both as best I could manually, but there's still no automated tests for them AFAIK. Here's the scenarios I tested, and please feel free to suggest any others you can think of:
Recover:
shards recover
on a few active Flow shards from productionRecover 2:
shards recover --dir a
shards recover --dir b
anddiff
to confirm it's the same asa
(previously, this would have errored)shards recover --dir c
anddiff
to confirm it's the same asa
Prune:
--dry-run
commands against Flow's combustible-cronut environment--dry-run -l estuary.dev/task-type=derivation
and got:bytesKept=4606810948793 bytesPruned=26377008674102 bytesTotal=30983819622895 fragmentsKept=17359 fragmentsPruned=102500 fragmentsTotal=119859 shardsTotal=114 skippedJournals=2
--dry-run -l estuary.dev/task-type=materialization
and got:bytesKept=37440051630 bytesPruned=536165477654 bytesTotal=573605529284 fragmentsKept=3503 fragmentsPruned=9307 fragmentsTotal=12810 shardsTotal=291 skippedJournals=61
--dry-run -l estuary.dev/task-type=capture
and got:bytesKept=1529386200947 bytesPruned=14368880429210 bytesTotal=15898266630157 fragmentsKept=7896 fragmentsPruned=77030 fragmentsTotal=84926 shardsTotal=512 skippedJournals=56
This change is