-
Notifications
You must be signed in to change notification settings - Fork 165
fix: Omit cleaning containerless kernels which are still creating its container #2317
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
kyujin-cho
merged 13 commits into
main
from
topic/06-20-fix_kernel_status_to_omit_being_cleaned
Jul 15, 2024
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c4f539a
fix: Omit cleaning containerless kernels whose status is preparing
fregataa 6ee3e58
add news fragment
fregataa 2ca5a52
rename enum type
fregataa ea83c03
update news fragment
fregataa e77b828
skip destroying terminating kernels
fregataa 4c3f1e9
update docstring and naming
fregataa ddd1869
better logging
fregataa 0254867
add comments
fregataa a648eb3
remove verbose comment and leave it on gh comment
fregataa d231295
Merge branch 'main' into topic/06-20-fix_kernel_status_to_omit_being_…
fregataa 9d44418
Merge branch 'main' into topic/06-20-fix_kernel_status_to_omit_being_…
fregataa cd0daab
apply registry_lock when change kernel state
fregataa ccfa687
Merge branch 'main' into topic/06-20-fix_kernel_status_to_omit_being_…
kyujin-cho 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Omit to clean containerless kernels which are still creating its container. |
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
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.
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.
When we shutdown and restart an agent to update its version,
kernel_registryis dumped as a pickle file and the agent loads the pickle file when it restarts. OldKernelobjects that are dumped before the version update do not havestatefield when we restart agent.We need to insert the
statevalue to the oldKernelobjects.