Skip to content

[release-1.14] fix: panic and restart of volcano scheduler pods on install#5144

Merged
volcano-sh-bot merged 1 commit intovolcano-sh:release-1.14from
volcano-sh-bot:cherry-pick-5077-to-release-1.14
Mar 31, 2026
Merged

[release-1.14] fix: panic and restart of volcano scheduler pods on install#5144
volcano-sh-bot merged 1 commit intovolcano-sh:release-1.14from
volcano-sh-bot:cherry-pick-5077-to-release-1.14

Conversation

@volcano-sh-bot
Copy link
Copy Markdown
Contributor

This is an automated cherry-pick of #5077

NONE

…rently create the `root` or `default` queue

Signed-off-by: caotuo721 <caotuo721@yeah.net>
@volcano-sh-bot volcano-sh-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Mar 31, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the newDefaultAndRootQueue function in pkg/scheduler/cache/cache.go to improve the robustness of queue creation. It now explicitly handles cases where a queue already exists by skipping creation instead of failing, and it ensures retries occur for other error types. Additionally, a new test suite TestNewDefaultAndRootQueue has been added to pkg/scheduler/cache/cache_test.go to verify concurrent queue creation scenarios. I have no feedback to provide.

@JesseStutler
Copy link
Copy Markdown
Member

/retest

1 similar comment
@JesseStutler
Copy link
Copy Markdown
Member

/retest

@JesseStutler
Copy link
Copy Markdown
Member

/approve
/lgtm

@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 31, 2026
@volcano-sh-bot
Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JesseStutler

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@volcano-sh-bot volcano-sh-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 31, 2026
@volcano-sh-bot volcano-sh-bot merged commit b192ec4 into volcano-sh:release-1.14 Mar 31, 2026
17 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants