Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle delrequest.lua and uve async request failure in redis
contrail-collector executes delrequest.lua script when a Generator gets disconnected. On a scale setup, some Generators (vrouter-agent, tor-agent) originate more UVEs and therefore delrequest.lua takes more than 5 seconds [default lua-time-limit] to complete. If the lua script runs for more than the configured time limit, then redis returns error to other requests till the script is completed. - Removed the chatty log from delrequest.lua as it affects the performance. sub_del() should be called only for UVEs with aggtype="stats" fields. - Added assert if redis returns error for delrequest.lua and async uveupdate and uvedelete requests. Change-Id: I797a552ebae11adea49c3b58c9775c0014bd6731 Partial-Bug: #1459769
- Loading branch information
Sundaresan Rajangam
committed
Jun 9, 2015
1 parent
3b996d2
commit 6776108
Showing
3 changed files
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters