Mike Percy has uploaded a new patch set (#2).

Change subject: KUDU-1767. c++ client: Prevent concurrent flushes by default
......................................................................

KUDU-1767. c++ client: Prevent concurrent flushes by default

This patch makes it so that only a configurable number of batchers can
flush simultaneously in the C++ client. The default is 1, making it so
that flushes occur serially, although applies may take place during an
outstanding flush as long as there are available buffers (the default
number of mutation buffers remains 2).

This patch also adds some basic unit testing for this functionality and
enables the previously-failing client op interleave test.

Change-Id: I3e48a054093163824573962963ddcba122a948b8
---
M src/kudu/client/client-test.cc
M src/kudu/client/client.cc
M src/kudu/client/client.h
M src/kudu/client/session-internal.cc
M src/kudu/client/session-internal.h
M src/kudu/integration-tests/client_flush_interleave-itest.cc
6 files changed, 206 insertions(+), 71 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/33/5533/2
-- 
To view, visit http://gerrit.cloudera.org:8080/5533
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3e48a054093163824573962963ddcba122a948b8
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to