Todd Lipcon has submitted this change and it was merged. Change subject: KUDU-1192 Periodically flush glog buffers from a thread ......................................................................
KUDU-1192 Periodically flush glog buffers from a thread Added a wait timeout to AsyncLogger RunThread based on FLAGS_logbufsec When the wait times out, it will flush even if there is nothing enqueued. Also sets the logbufsecs default to 5 seconds, instead of the 30s. Change-Id: Id4c6d440e9259efcf222530f13137f7de5bf00fc Reviewed-on: http://gerrit.cloudera.org:8080/6853 Tested-by: Kudu Jenkins Reviewed-by: Adar Dembo <[email protected]> Reviewed-by: Todd Lipcon <[email protected]> --- M src/kudu/util/async_logger.cc M src/kudu/util/flags.cc M src/kudu/util/logging-test.cc 3 files changed, 35 insertions(+), 3 deletions(-) Approvals: Adar Dembo: Looks good to me, but someone else must approve Todd Lipcon: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/6853 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id4c6d440e9259efcf222530f13137f7de5bf00fc Gerrit-PatchSet: 12 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: William Li <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot Gerrit-Reviewer: Todd Lipcon <[email protected]> Gerrit-Reviewer: William Li <[email protected]>
