Reviewed: https://review.openstack.org/289787 Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=6f2d7cbc076c6964062d2199aa3dfd4b9064e28d Submitter: Jenkins Branch: master
commit 6f2d7cbc076c6964062d2199aa3dfd4b9064e28d Author: Edwin Zhai <email address hidden> Date: Tue Mar 8 08:25:15 2016 +0000
Fix event_type creationg failure due to race condition
Race condition exists when 2 threads try to create same event_type, so need detect it and load the event_type again.
Change-Id: If3439817cfbfef90daeb5975338909f8312864c4 Closes-Bug: #1254800
Reviewed: https:/ /review. openstack. org/289787 /git.openstack. org/cgit/ openstack/ ceilometer/ commit/ ?id=6f2d7cbc076 c6964062d2199aa 3dfd4b9064e28d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6f2d7cbc076c696 4062d2199aa3dfd 4b9064e28d
Author: Edwin Zhai <email address hidden>
Date: Tue Mar 8 08:25:15 2016 +0000
Fix event_type creationg failure due to race condition
Race condition exists when 2 threads try to create same event_type, so
need detect it and load the event_type again.
Change-Id: If3439817cfbfef 90daeb597533890 9f8312864c4
Closes-Bug: #1254800