You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2021. It is now read-only.
Currently, containerd-shim-kata-v2 maintain a persistent connection to qemu via qmp socket. But when we changed to ephemeral connection for some reason(e.g. debug), we found the qmpSetup() may cause a severe race condition, which leads to shim process not responding. It's because there's two qmp mainLoop goroutines exists at the same time.
How can it be improved?
Add a mutex in qmpSetup
The text was updated successfully, but these errors were encountered:
Which feature do you think can be improved?
Currently, containerd-shim-kata-v2 maintain a persistent connection to qemu via qmp socket. But when we changed to ephemeral connection for some reason(e.g. debug), we found the
qmpSetup()
may cause a severe race condition, which leads to shim process not responding. It's because there's two qmp mainLoop goroutines exists at the same time.How can it be improved?
Add a mutex in qmpSetup
The text was updated successfully, but these errors were encountered: