-
Notifications
You must be signed in to change notification settings - Fork 127
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
Add stop
function for roles
#1148
Comments
@jbesraa can you elaborate on the motivations for this? what kind of scenario are we trying to mitigate? my understanding is that we just want to avoid zombie tasks that stay alive after the test has finished running... if that's the case, I would try to keep handles and use them to explicitly shut down all tasks |
overall, we should be as conservative as possible, because otherwise we will start going down very deep rabbit holes I was originally excited about #1120 because it felt like a low-hanging-fruit that would allow us to migrate our CI away from MG and patch bugs on the PoC but if this task will impose the need for deep refactors into the |
Hey @jbesraa did you find a workaround for this? |
@GitGab19 I am seeing new changes here: #1066. @jbesraa has introduced state machine in roles crate. I am not very certain why this approach is taken, as in one of the meetings it was decided to not add code specific to integration test suite in production code. But I guess thats the workaround, rather than killing the joinhandles. |
I am closing this as its irrelevant atm. please move the discussion to #1066 |
After merging #1092 #1095 and #1097 we would like to start completing #1066. One requirement we need is a function to terminate a role, for example for
PoolSV2
we need to addPoolSV2::stop
. Any ideas on how best to approach this would be appreciated!The text was updated successfully, but these errors were encountered: