-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
state: Introduce
DependsOn
for N-to-1 job dependencies (#1021)
* state: Introduce DependsOn for N-to-N job dependencies * indexer: Use DependsOn for (most) job dependencies * fix: check module existence & add in the same txn This is to prevent a race condition * fix: account for empty job IDs & wrong ID in cleanup * Update internal/indexer/module_calls.go Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com> Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>
- Loading branch information
1 parent
1996d96
commit 48ab782
Showing
13 changed files
with
564 additions
and
234 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.