Wang Xixu has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19237


Change subject: [Flag] Check flags consistency when setting a flag
......................................................................

[Flag] Check flags consistency when setting a flag

Currently Kudu will not check flags consistency
when setting a flag. When Kudu restart, this inconsistency
flags will cause restarting failed.
For example set unlock_experimental_flags=false and
auto_rebalancing_enabled=true.

Therefore this patch will check flags consistency when
setting a flag. First try to set this flag, then check
all flags consitency, if failed, roll back or return.

Change-Id: I9e6e37e0f4e72a2cc3d2316248961315f1757ebc
---
M src/kudu/server/generic_service.cc
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/util/flags.cc
M src/kudu/util/flags.h
4 files changed, 133 insertions(+), 9 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/37/19237/1
--
To view, visit http://gerrit.cloudera.org:8080/19237
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e6e37e0f4e72a2cc3d2316248961315f1757ebc
Gerrit-Change-Number: 19237
Gerrit-PatchSet: 1
Gerrit-Owner: Wang Xixu <[email protected]>

Reply via email to