Skip to content
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

Update safe_sleep.sh for bug when scheduler is paused for more than 1 second #3157

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

horner
Copy link

@horner horner commented Feb 17, 2024

fixed a rare condition where the comparison may not be made within the second and then this will loop forever (or at least until a rollover of SECONDS) ;-)

sleep was replaced in #1707

But if safe_sleep.sh is running when a vm is suspended it will not do the comparison within the second and therefore loops forever when the vm is resumed.

fixed a rare condition where the comparison may not be made within the second and then this will loop forever (or at least until a rollover of SECONDS)  ;-)
@horner horner requested a review from a team as a code owner February 17, 2024 16:38
@horner
Copy link
Author

horner commented Feb 17, 2024

Screenshot 2024-02-17 at 11 19 18 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant