Repository navigation
fix(workflows): a map on a join no longer gets a second join row from the outbox (#745) #751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a109588
fix(workflows): a map on a join no longer gets a second join row from…
b0d22a2
fix(workflows): address review findings (#745)
e516688
docs(upgrading): the third #745 query skips normally adopted joins (#…
5d7e28c
merge: main into fix/745-map-on-join-dup-join-row (#745)
6ea04e6
Merge remote-tracking branch 'origin/main' into review/pr-751
rcbevans af73808
fix(workflows): the sweep resolves a reserved consumer by its flow's …
rcbevans 44c23f8
fix(workflows): never adopt a join row that already ran (#745)
rcbevans 4d4cd47
docs(upgrading): the #745 remedy removes the orphan row, not cancel i…
rcbevans 5574dab
refactor(workflows): one predicate for the fork-spawned join (#745)
rcbevans dfa1bcb
test(workflows): pin the nested-join seam through the fleet claim sea…
rcbevans b86e09e
fix(workflows): guard the #745 repair and the adoption write against …
rcbevans f5d597a
Merge remote-tracking branch 'origin/main' into review/pr-751
rcbevans File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor (nice to have, not blocking): A few notes on the recovery queries. They're read-only, so this is about operators getting the right answer.
jobson a leading-wildcardLIKE. Query 3'sEXISTSlegs comparemetadata->>'flow_id'as text, so they can't usejobs_wf_flow_nodes_idx, which is on the::uuidcast. Casting both sides to uuid and adding a line saying to run these on a replica or off-peak would help on a large table.+ 0stayssucceededwithdeps_pending = 0, so this query misses it. I reached that by reading the code; I didn't run it. Also, query 3 can't see an adopted stray because only one row exists. Query 2 is what catches that, and one sentence saying so would help readers.