Alexey Serbin has uploaded a new change for review. http://gerrit.cloudera.org:8080/3668
Change subject: async background flush provision for C++ client ...................................................................... async background flush provision for C++ client Implemented AUTO_FLUSH_BACKGROUND for C++ client library. A dedicated background flusher thread is started by KuduSession instance for this purpose. In AUTO_FLUSH_BACKGROUND mode the KuduSession::Apply() method blocks if there is not enough place in the virtual buffer. The limit on the buffer size is set by KuduSession::SetMutationBufferSpace(). The flush criteria is based on buffer size for not-yet-scheduled session's write operatations and timeout. The flow control criteria in KuduSession::Apply() is based on total buffer size of session's write operatations. Addressed the following JIRA issues: KUDU-456 Implement AUTO_FLUSH_BACKGROUND flush mode KUDU-1376 KuduSession::SetMutationBufferSpace is not defined Change-Id: Idfde05bef342db24990c6e3da3b0270c3bb37a9d --- M src/kudu/client/batcher.cc M src/kudu/client/batcher.h M src/kudu/client/client.cc M src/kudu/client/client.h M src/kudu/client/error_collector.cc M src/kudu/client/session-internal.cc M src/kudu/client/session-internal.h 7 files changed, 432 insertions(+), 103 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/68/3668/1 -- To view, visit http://gerrit.cloudera.org:8080/3668 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idfde05bef342db24990c6e3da3b0270c3bb37a9d Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>