generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 274
level-based topological sorting and execution #827
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
Draft
bschaatsbergen
wants to merge
42
commits into
kubernetes-sigs:main
Choose a base branch
from
bschaatsbergen:parallel-walk
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
e6adf27
feat: implement parallel walking of the DAG
bschaatsbergen 28c1d5f
feat: implement parallel walking of the DAG
bschaatsbergen c370876
Merge branch 'parallel-walk' of github.com:bschaatsbergen/kro into pa…
bschaatsbergen b497552
remove dangling comment
bschaatsbergen 992c230
use assert package for tests
bschaatsbergen 5879e7a
remove walker in favor of level based topological execution
bschaatsbergen 83a235d
rewrite dag tests to use the assert package
bschaatsbergen 8f06cc6
document mutex
bschaatsbergen d034b4a
add some additional concurrency safeguards
bschaatsbergen eae9be4
bit of clean up
bschaatsbergen fb8db99
maintain a single applyset
bschaatsbergen 670f2ba
update comments on thread safe access
bschaatsbergen 5ef58fe
revert cli changes
bschaatsbergen c90b429
remove topologicalorder and sort
bschaatsbergen a5d5b93
add applyset spec link
bschaatsbergen d0a17fd
use a log field instead
bschaatsbergen 3503221
add a better comment to reflect the process
bschaatsbergen b30c1e6
Merge remote-tracking branch 'upstream/main' into parallel-walk
bschaatsbergen 040ef27
remove topologicalorder status field
bschaatsbergen 5458a87
add nolint: dupl directives
bschaatsbergen 2fb490f
match requeue duration to production
bschaatsbergen 676f9e5
add missing header
bschaatsbergen d14d536
Revert "match requeue duration to production"
bschaatsbergen aca0bde
revert changes related to removing status field
bschaatsbergen 8a530d5
restore topologicalOrder in status
bschaatsbergen 1dab5b0
Revert nolint changes
bschaatsbergen 487d108
use stable sorted order
bschaatsbergen db1385f
revert deletion of comment
bschaatsbergen a43a296
protect mutable maps in runtime package with a mutex
bschaatsbergen d15545d
implement kahn's algorithm
bschaatsbergen 2585557
adjust order of ackekscluster test
bschaatsbergen 7622340
small nit improvements
bschaatsbergen cb4862a
Merge branch 'main' into parallel-walk
bschaatsbergen 11289f3
revert minor refactor
bschaatsbergen ad96238
Merge branch 'parallel-walk' of github.com:bschaatsbergen/kro into pa…
bschaatsbergen 4e3550a
protect all maps/sets using the mutex
bschaatsbergen 16accff
use waitgroup instead of errgroup to avoid cancelling on a non-nil error
bschaatsbergen 585907c
simplify cycle detection and optimize for O(V+E) performance
bschaatsbergen 695f741
remove TopologicalSort
bschaatsbergen 1c9c2bb
avoid doing another full graph traversal with DFS to detect a cycle
bschaatsbergen 7da9c61
Merge branch 'main' into parallel-walk
bschaatsbergen 33ba0fa
Merge branch 'main' into parallel-walk
bschaatsbergen 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.
Uh oh!
There was an error while loading. Please reload this page.