Hello Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/15091
to look at the new patch set (#2).
Change subject: KUDU-3011 p7: add tool to quiesce server
......................................................................
KUDU-3011 p7: add tool to quiesce server
Adds the following commands:
$ kudu tserver quiesce <tserver_addr>
- periodically sends a request to quiesce the server
- the server will respond with the number of leaders and active
scanners
- once both of these are zero, exits with success
- there are gflags to tune the timing of this
$ kudu tserver stop_quiescing <tserver_addr>
- sets the server to not be quiescing
Tests:
- Added some tests to exercise the quiescing tool in the context of a
rolling restart alongside the maintenance mode tooling.
- Also added some basic testing for the quiescing tooling alone.
Change-Id: I89657808cc2b0afc4e1b37ce75937ab12e098d9c
---
M src/kudu/integration-tests/CMakeLists.txt
M src/kudu/integration-tests/maintenance_mode-itest.cc
M src/kudu/integration-tests/tablet_server_quiescing-itest.cc
M src/kudu/integration-tests/test_workload.cc
M src/kudu/integration-tests/test_workload.h
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_tserver.cc
M src/kudu/tools/tool_test_util.cc
M src/kudu/tools/tool_test_util.h
M src/kudu/tserver/tablet_service.cc
M src/kudu/tserver/tablet_service.h
M src/kudu/tserver/tserver_admin.proto
12 files changed, 652 insertions(+), 54 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/91/15091/2
--
To view, visit http://gerrit.cloudera.org:8080/15091
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I89657808cc2b0afc4e1b37ce75937ab12e098d9c
Gerrit-Change-Number: 15091
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)