Skip to content

Commit 7f57b0c

Browse files
ENG-2737: Porting nonredundant functionalities of local_cluster_ctl to yb-ctl.
Summary: This diff ports the nonredundant functionalities of local_cluster_ctl to yb_ctl. These are the actual functionalities it ports: 1. The addition of --verbose flag. 2. The addition of --use_cassandra_authentication flag(which is tserver only) and set to false by default. 3. Implementation of wipe-restart. This basically destroys the cluster, deletes the /tmp/yugabyte-local-cluster directory and then re-starts the cluster with the same number of masters/tservers as before. At this point of time we do not save state(as in which nodes are running and which are not, and the gflags passed). Planning to change this later. 4. Implementation of master node addition using add_node --master. 5. Implementation of stop_node(for masters as well as tservers). Jenkins: skip Test Plan: Manually tested by running the scripts for different conditions and verifying that the behavior is as expected in the UI. Reviewers: mikhail, karthik, bogdan Reviewed By: bogdan Subscribers: sid, bristy, ybase Differential Revision: https://phabricator.dev.yugabyte.com/D4080
1 parent 52299cb commit 7f57b0c

File tree

2 files changed

+212
-91
lines changed

2 files changed

+212
-91
lines changed

.arclint

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"pycodestyle": {
1616
"type": "pep8",
17-
"include": "(\\.py$)",
17+
"include": "(\\.py$|yb-ctl$)",
1818
"exclude": "(^thirdparty/|^[.]ycm_extra_conf[.]py$)",
1919
"bin": "pycodestyle"
2020
},

0 commit comments

Comments
 (0)