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
How to reproduce it (as minimally and precisely as possible):
This is a concurrency bug, so there is no guaranteed reproducible way. But one of the necessary precondition is to enable the gang plugins, because this plugin calls the CheckTaskValid function.
When cloning a JobInfo, the TaskMinAvailable is shadow-copied. Therefore, multiple goroutines may access to the same map. Anything else we need to know?:
Environment:
Volcano Version: v1.7.0
Kubernetes version (use kubectl version): v1.25.0
The text was updated successfully, but these errors were encountered:
What happened:
Volcano scheduler panic in
CheckTaskValid
, due to concurrent access of JobInfo.TaskMinAvailableWhat you expected to happen:
No panic occurs.
How to reproduce it (as minimally and precisely as possible):
This is a concurrency bug, so there is no guaranteed reproducible way. But one of the necessary precondition is to enable the gang plugins, because this plugin calls the CheckTaskValid function.
The reason is the code here
When cloning a JobInfo, the
TaskMinAvailable
is shadow-copied. Therefore, multiple goroutines may access to the same map.Anything else we need to know?:
Environment:
kubectl version
): v1.25.0The text was updated successfully, but these errors were encountered: