Need synchronization between UVE update in redis and UVE notification in kafka
Bug #1557711 reported by
Sundaresan Rajangam
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Won't Fix
|
High
|
Sundaresan Rajangam | |||
R3.1 |
Won't Fix
|
Medium
|
Sundaresan Rajangam | |||
Trunk |
New
|
Medium
|
Unassigned |
Bug Description
Presently, there is no synchronization between UVE update in redis and publishing UVE notification in kafka bus. Therefore, there is a possibility that alarm-gen reads/processes UVE notification before the UVE is actually updated in redis.
summary: |
- Publish UVE notification on kafka only after UVEs are updated in Redis + Need synchronization between UVE update in redis and UVE notification in + kafka |
To post a comment you must log in.
Per Anish, redis is single-threaded; collector writes UVE before publishing on the kafka bus and alarm-gen's read request to redis would only be processed after the write request from collector gets processed. Therefore, there is no need for synchronization between UVE update in redis and UVE notification in kafka at the collector side.