potential race condition in publisher cache
Bug #1523331 reported by
ZhiQiang Fan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Invalid
|
Medium
|
Unassigned |
Bug Description
I think it is caused by two threads operate a same queue, so after one thread pop the element, the other one will fail.
The reason why two threads have same queue reference, might because there is a context switch happens just at https:/
I think a lock might be needed when process a shared queue object
Changed in ceilometer: | |
importance: | High → Medium |
assignee: | ZhiQiang Fan (aji-zqfan) → nobody |
To post a comment you must log in.
or can we depend on duplicate messages processing strategy in the consumer side, and just ignore such case?