You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 22, 2024. It is now read-only.
In krator/src/runtime.rs, tokio::sync::Notify is expected to always return instantly after it has been notified, rather than its actual behavior of waiting for a new notification. This results in the task getting stuck in some cases waiting for events to happen when they already have. Change to using a RwLock<bool>, or something similar.
The text was updated successfully, but these errors were encountered:
Use examples/assets/generate_random_meese.py 10 to create 10+ resources managed by the controller. (there is a requirements file to install Python deps).
Delete all resources: kubectl delete mooses --all.
You should observe a tasks related to individual resources stick around forever. There are two main task entrypoints:
src/runtime.rs:222
src/runtime.rs:181
The one at line 222 is the one getting stuck, and I believe it is because of the notification behavior mentioned above.
In
krator/src/runtime.rs
,tokio::sync::Notify
is expected to always return instantly after it has been notified, rather than its actual behavior of waiting for a new notification. This results in the task getting stuck in some cases waiting for events to happen when they already have. Change to using aRwLock<bool>
, or something similar.The text was updated successfully, but these errors were encountered: