Hello Alexey Serbin, Kudu Jenkins, Adar Dembo, Greg Solovyev, Hao Hao,

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#3).

Change subject: KUDU-2069 p3: add RPC endpoint for maintenance mode
......................................................................

KUDU-2069 p3: add RPC endpoint for maintenance mode

This patch adds an RPC endpoint to the master to allow entering and
exiting maintenance mode. The endpoint requires superuser privileges, as
this is meant to be used for administrative purposes.

The endpoint is currently hidden behind a flag, as maintenance mode
behavior is still in progress. I'm introducing the endpoint now to
facilitate testing and will remove the flag once finished.

The requests are represented as explicit edges in a (currently simple)
state machine transitioning a given tserver between different tserver
states.

Basic checking is done to validate requests, and a test is added for
this checking.

Change-Id: I9d565bd745507f2511b91a96d2d446240c5406b5
---
M src/kudu/master/catalog_manager.cc
M src/kudu/master/master.proto
M src/kudu/master/master_service.cc
M src/kudu/master/master_service.h
M src/kudu/master/ts_state-test.cc
5 files changed, 158 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/21/14221/3
--
To view, visit http://gerrit.cloudera.org:8080/14221
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9d565bd745507f2511b91a96d2d446240c5406b5
Gerrit-Change-Number: 14221
Gerrit-PatchSet: 3
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Greg Solovyev <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to