-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Fix releasing CPUs incorrectly when actor creation task blocked. #5271
Fix releasing CPUs incorrectly when actor creation task blocked. #5271
Conversation
Test FAILed. |
Test PASSed. |
Test PASSed. |
@romilbhardwaj I think this bug was introduced by dynamic resource. Can you take a look? |
@robertnishihara do you know why we need this |
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.
Thanks for submitting this PR. The change in node_manager.cc
makes sense. However, I'm a bit confused about the test - please see my comment there.
I think |
If we can remove local_available_resources_, I beleive things will get more simple and clearer. |
@raulchen, the reason is that we do fine-grained bookkeeping for the local resources (we keep track of resource IDs), whereas for cluster resources, we only keep track of the aggregate resource quantities. There's probably a better way to do it though. |
Test PASSed. |
Test PASSed. |
…-project#5271) * Fix * Remove useless log * Address * Fix typo * sleep
The following test can't pass before this PR: