fnmatch is not thread safe
Bug #1519767 reported by
ZhiQiang Fan
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Ceilometer |
Fix Released
|
High
|
ZhiQiang Fan | ||
| Kilo |
New
|
Undecided
|
Unassigned | ||
| Liberty |
Fix Committed
|
Undecided
|
gordon chung | ||
Bug Description
We are using fnmatch for many places but never guarantee for thread safe, for example, in gnocchi dispatcher, here is a race condition example in CI: http://
We should add some locks or simplify it with string compare if we could
Aodh also uses it, but only in evaluator, and that has no thread race IIUC.
| Changed in ceilometer: | |
| importance: | Undecided → High |
| Changed in ceilometer: | |
| status: | Fix Committed → Fix Released |
| Changed in ceilometer: | |
| milestone: | none → mitaka-1 |
To post a comment you must log in.

python 3.x is not affected