fateh288 opened a new pull request, #664:
URL: https://github.com/apache/ranger/pull/664

   ## What changes were proposed in this pull request?
   Currently passive tagsync continuously checks whether it the active instance 
or not in an infinite loop (for quick failover) with 0 seconds delay which 
causes high CPU usage (150-200% i.e. 1.5 - 2 cores of CPU as noted from the top 
command).
   
   This needs to be fixed by adding sleep similar to how passive usersync is 
doing currently
   
   
   ## How was this patch tested?
   
   Manually tested. CPU usage goes down to 0% with periodic usage of 0.3% to 
check if it active instance or not every 5 seconds


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to