Provide an option to enable/disable serve UVE queries from the aggregated
UVE db. In a scale setup, HA event (alarm-gen down), alarm-gen may take a
long time to aggregate the UVEs depending on the number of UVEs, number
of partitions it owns, etc., So, enabling this option would reduce the
down time in case of HA events (collector down - time taken for generators
to connect to the new collector and resync the UVEs, alarm-gen down - no
impact on UVE queries, only the alarms would be reevaluated)
For R5.0, we delete the way to read from DB7, and read from DB1 directly
Reviewed: https:/ /review. opencontrail. org/44035 github. com/Juniper/ contrail- analytics/ commit/ f7daaa6e8d8ecd6 17c4aba218f647b f2bfc4112e
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0
commit f7daaa6e8d8ecd6 17c4aba218f647b f2bfc4112e
Author: zcui <email address hidden>
Date: Thu Jun 21 16:17:06 2018 -0700
Add new config option use_aggregated_ uve_db
Provide an option to enable/disable serve UVE queries from the aggregated
UVE db. In a scale setup, HA event (alarm-gen down), alarm-gen may take a
long time to aggregate the UVEs depending on the number of UVEs, number
of partitions it owns, etc., So, enabling this option would reduce the
down time in case of HA events (collector down - time taken for generators
to connect to the new collector and resync the UVEs, alarm-gen down - no
impact on UVE queries, only the alarms would be reevaluated)
For R5.0, we delete the way to read from DB7, and read from DB1 directly
Change-Id: I064a5d38d8ae04 770e033251ab12e e7b329054cc
Closes-Bug: #1719236