Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14221
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 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, 144 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/21/14221/1 -- 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: newchange Gerrit-Change-Id: I9d565bd745507f2511b91a96d2d446240c5406b5 Gerrit-Change-Number: 14221 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <aw...@cloudera.com>