event type creation may fail due to a race condtion
Bug #1254800 reported by
John Herndon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
High
|
Zhai, Edwin |
Bug Description
when event_type or trait_types are created in the sqlalchemy implementation of the storage driver, a race condition exists where one thread could create the event/trait type while another thread is looking it up. The solution may be to catch an exception and try to load the definition from the database.
Changed in ceilometer: | |
assignee: | nobody → John Herndon (john-herndon) |
Changed in ceilometer: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ceilometer: | |
assignee: | John Herndon (john-herndon) → nobody |
Changed in ceilometer: | |
assignee: | nobody → pradeep kumar singh (pradeep-singh-u) |
Changed in ceilometer: | |
assignee: | pradeep kumar singh (pradeep-singh-u) → nobody |
Changed in ceilometer: | |
assignee: | shubham chitranshi (chitranshi-shubham) → nobody |
Changed in ceilometer: | |
assignee: | nobody → Zhai, Edwin (edwin-zhai) |
To post a comment you must log in.
Hello Pradeep, Can you tell me how far did you go with this ??
any kind of heads up is appreciated ..!!