William Li has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/6853

Change subject: KUDU-1192 Periodically flush glog buffers from a thread
......................................................................

KUDU-1192 Periodically flush glog buffers from a thread

Added a timer inside the AsyncLogger to periodically calls the flush().
It wakes up the main RunThread() to flush the messages from buffers
Period to wake up is default to 1 second but can also use environment variable 
to change it

Change-Id: Id4c6d440e9259efcf222530f13137f7de5bf00fc
---
M src/kudu/util/async_logger.cc
M src/kudu/util/async_logger.h
M src/kudu/util/logging-test.cc
3 files changed, 113 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/53/6853/1
-- 
To view, visit http://gerrit.cloudera.org:8080/6853
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id4c6d440e9259efcf222530f13137f7de5bf00fc
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: William Li <[email protected]>

Reply via email to