-
Notifications
You must be signed in to change notification settings - Fork 262
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
Implement Cohort cycle detection in hierarchy.Manager #3040
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/assign @mimowo |
c4a1817
to
31762c2
Compare
operations func(M) | ||
wantCycles map[string]bool | ||
}{ | ||
"no cycles": { |
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.
Add a test case for a diamond structure.
root
/ \
left right
\ /
shared child
should be no cycles, but I would like to confirm there is no bug here.
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.
We can't represent this configuration, as a child can only have one parent
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.
sure :)
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.
/lgtm
/approve
LGTM label has been added. Git tree hash: 07c486b77916405ab499711c744034644ca3fbea
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gabesaba, mimowo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Cycle checking logic in hierarchy.Manager. Will be used by both
queue.manager
andcache.Cache
. I'm pulling it out of #3006 to reduce diff. Part of #79Special notes for your reviewer:
Does this PR introduce a user-facing change?