Smityz opened a new pull request #632:
URL: https://github.com/apache/incubator-pegasus/pull/632


   This PR is to solve two hidden dangers in hotkey_collector.
   Because the related codes of two dangers are overlapped, I solve them in one 
PR.
   The first hidden danger is if `FLAGS_xxx` variable is dynamically changing 
in the future, `FLAGS_data_capture_hash_bucket_num` might be changing when 
capturing data, which will cause the memory overflow.
   The second hidden danger is `_internal_collector` might be reset while other 
threads are using it.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pegasus.apache.org
For additional commands, e-mail: dev-h...@pegasus.apache.org

Reply via email to