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/44207 github. com/Juniper/ contrail- analytics/ commit/ 9abcdec4c72d86d 7a2e345b1611d6e f8cf137bb8
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master
commit 9abcdec4c72d86d 7a2e345b1611d6e f8cf137bb8
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