-
Notifications
You must be signed in to change notification settings - Fork 900
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
[WIP] Remove wait_for_worker_monitor functionality #14257
Conversation
This pull request is not mergeable. Please rebase and repush. |
Talked to @carbonin on this one, and we've come to realize that the wait_for_worker_monitor functionality has become essentially a wait barrier for dependent workers that is implemented via waiting for MiqServer to transition to Here is a chart depicting how it all works
|
befcfde
to
e2cdcab
Compare
Checked commit Fryguy@e2cdcab with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
A majority of workers do not need to wait for the server to start, so changing the default simplifies the code and also identifies which workers actually need to wait. In researching this, we found that the only reason that workers are waiting is to actually wait for the vmware broker to start and provide its connection pool. Follow up PRs will change this from wait_for_worker_monitor to "wait for broker", and we can further make this more specific to vmware only classes. See also ManageIQ#14257 (comment) for a description of how the wait_for_worker_monitor manifests as a "wait for broker" scenario.
This pull request is not mergeable. Please rebase and repush. |
A majority of workers do not need to wait for the server to start, so changing the default simplifies the code and also identifies which workers actually need to wait. In researching this, we found that the only reason that workers are waiting is to actually wait for the vmware broker to start and provide its connection pool. Follow up PRs will change this from wait_for_worker_monitor to "wait for broker", and we can further make this more specific to vmware only classes. See also ManageIQ/manageiq#14257 (comment) for a description of how the wait_for_worker_monitor manifests as a "wait for broker" scenario. (transferred from ManageIQ/manageiq@9e99ba0)
A majority of workers do not need to wait for the server to start, so changing the default simplifies the code and also identifies which workers actually need to wait. In researching this, we found that the only reason that workers are waiting is to actually wait for the vmware broker to start and provide its connection pool. Follow up PRs will change this from wait_for_worker_monitor to "wait for broker", and we can further make this more specific to vmware only classes. See also ManageIQ/manageiq#14257 (comment) for a description of how the wait_for_worker_monitor manifests as a "wait for broker" scenario. (transferred from ManageIQ/manageiq@9e99ba0)
Fairly sure we can close this in favor of #15654 |
A majority of workers do not need to wait for the server to start, so changing the default simplifies the code and also identifies which workers actually need to wait. In researching this, we found that the only reason that workers are waiting is to actually wait for the vmware broker to start and provide its connection pool. Follow up PRs will change this from wait_for_worker_monitor to "wait for broker", and we can further make this more specific to vmware only classes. See also ManageIQ/manageiq#14257 (comment) for a description of how the wait_for_worker_monitor manifests as a "wait for broker" scenario. (transferred from ManageIQ/manageiq@9e99ba0)
A majority of workers do not need to wait for the server to start, so changing the default simplifies the code and also identifies which workers actually need to wait. In researching this, we found that the only reason that workers are waiting is to actually wait for the vmware broker to start and provide its connection pool. Follow up PRs will change this from wait_for_worker_monitor to "wait for broker", and we can further make this more specific to vmware only classes. See also ManageIQ/manageiq#14257 (comment) for a description of how the wait_for_worker_monitor manifests as a "wait for broker" scenario. (transferred from ManageIQ/manageiq@9e99ba0)
@carbonin @jrafanie Here is a WIP of killing wait_for_worker_monitor. I'd like to try this out on an appliance with you both.