Sample counts getting updated for other elements in struct when calculating AVG derived stats
While calculating the AVG derived stats for dial metrics
for few attributes in the struct, the sample count value
of the remaining attributes of the struct is also
getting updated which gives the wrong derived
average values when AVG derived stats in
calculated for the remaining attributes
This fix is to avoid this issue.
Reviewed: https:/ /review. opencontrail. org/43158 github. com/Juniper/ contrail- controller/ commit/ e780eb4d3c5dad3 2856fb4173188d9 26a3f55b05
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: R4.1
commit e780eb4d3c5dad3 2856fb4173188d9 26a3f55b05
Author: Parth Sarupria <email address hidden>
Date: Fri May 18 01:12:07 2018 -0700
Sample counts getting updated for other elements in struct when calculating AVG derived stats
While calculating the AVG derived stats for dial metrics
for few attributes in the struct, the sample count value
of the remaining attributes of the struct is also
getting updated which gives the wrong derived
average values when AVG derived stats in
calculated for the remaining attributes
This fix is to avoid this issue.
Change-Id: I33563050e8551f 580a8f952652e1c aa3d183c7b9
Closes-Bug: #1771807