-
Notifications
You must be signed in to change notification settings - Fork 70
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
Wasm VM corruption on plugin config update #125
Comments
Could you provide any steps to reproduce? |
Steps to reproduce locally:
|
Thanks, I can replicate it locally. |
It looks that new HTTP request is dispatched on RootContext, for some reason. Good execution:
Bad execution:
btw: the port is |
The issue is that even though WasmVMs are thread local and each context is thread local, the cached This worked fine with the old code that updated root context in-place, since cached I'm working on a fix for this. |
Fixes proxy-wasm/proxy-wasm-cpp-host#125. Signed-off-by: Piotr Sikora <[email protected]>
…#15016) Fixes proxy-wasm/proxy-wasm-cpp-host#125. Signed-off-by: Piotr Sikora <[email protected]>
…envoyproxy#15016) Fixes proxy-wasm/proxy-wasm-cpp-host#125. Signed-off-by: Piotr Sikora <[email protected]>
…#15016) (#15078) Fixes proxy-wasm/proxy-wasm-cpp-host#125. Signed-off-by: Piotr Sikora <[email protected]>
Fixes proxy-wasm/proxy-wasm-cpp-host#125. Signed-off-by: Piotr Sikora <[email protected]>
Fixes proxy-wasm/proxy-wasm-cpp-host#125. Signed-off-by: Piotr Sikora <[email protected]>
Fixed in:
Older versions are not affected. |
… (#15016) Fixes proxy-wasm/proxy-wasm-cpp-host#125. Signed-off-by: Piotr Sikora <[email protected]>
context: istio/istio#29843
When reconfigure a plugin, VM could be stuck at a bad state:
This happen randomly to some VMs at an Envoy process, so looks like vm is corrupted due to config update.
The text was updated successfully, but these errors were encountered: