-
Notifications
You must be signed in to change notification settings - Fork 590
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
bug: madsim panicked at must be called from the context of a Madsim runtime
#16950
Comments
Was it during the process when the actor being dropped? |
Yes. The root reason is that one actor called
|
This suddenly reminds me that we spawn separate tasks in the blocking thread pool to drop the actor, during which the task-local variables provided to the actor are no longer accessible. This may not be related to this issue, but can potentially lead to problems. risingwave/src/stream/src/executor/actor.rs Lines 246 to 257 in 5c33a8d
risingwave/src/stream/src/task/stream_manager.rs Lines 646 to 647 in 5c33a8d
|
Describe the bug
When running deterministic recovery test, there is a chance of encountering this error. It is probably a bug of madsim.
Error message/log
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
https://buildkite.com/risingwavelabs/pull-request/builds/50377#018fb898-4f49-42d5-a96a-d566e0ab4ea4
The text was updated successfully, but these errors were encountered: