Race condition in plugin registration #75097
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
sig/storage
Categorizes an issue or PR as relevant to SIG Storage.
What happened:
A race condition in the plugin watcher might happen when a
pluginwatcher.Watcher
is created, started and immediately stopped and cleaned up. If executed several times, the unit testTestNewManagerImplStartProbeMode
will expose this issue.The PR #71440 addressed part of the problem by serializing the handling of CREATE and DELETE events. However, a race might still happen in the
pluginwatcher.traversePluginDir
function. #71440 (comment) describes in detail the problem.How to reproduce it (as minimally and precisely as possible):
/sig storage
/sig node
The text was updated successfully, but these errors were encountered: