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 Nov 8, 2022. It is now read-only.
We have several plugins with pending issues related to thread safety during initialization of plugins. Several of them have been addressed. Here's a list to track them centrally:
This list might be not valid, because most (if not all) of these plugins use ConcurrencyCount = 1. Some are using this value from very beginning, but for some that was added during development, even for smart intelsdi-x/snap-plugin-collector-smart@63ee15e#diff-65647fbc09fddf28c78c248603ed1656L45
This commit sets ConcurrencyCount to 1 which makes the issue I reported originally perhaps inexistent (I haven't expected that plugin's Meta changed).
That's of course if there is no way that single workflow will make overlapping CollectMetrics call, but I don't know if there any circumstances that might happen.
Moreover, I've seen code of some of these plugins (i.e. processes) and there is no issue regardless of ConcurrencyCount value, because no struct variables (changed during callback) exists.
This plugin uses sticky routing strategy, so concurrency count is set to 1, what means there is no possibilities to use a single plugin instance by two or more tasks.
Based on above, I will close this issue. Of course, please do not hesitate to re-open if you notice that this issue is still valid in some circumstances. Thank You.
We have several plugins with pending issues related to thread safety during initialization of plugins. Several of them have been addressed. Here's a list to track them centrally:
The text was updated successfully, but these errors were encountered: