Skip to content

Commit

Permalink
ENG-2737: Porting nonredundant functionalities of local_cluster_ctl t…
Browse files Browse the repository at this point in the history
…o 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
  • Loading branch information
ayushsengupta1991 committed Feb 22, 2018
1 parent 52299cb commit 7f57b0c
Show file tree
Hide file tree
Showing 2 changed files with 212 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .arclint
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"pycodestyle": {
"type": "pep8",
"include": "(\\.py$)",
"include": "(\\.py$|yb-ctl$)",
"exclude": "(^thirdparty/|^[.]ycm_extra_conf[.]py$)",
"bin": "pycodestyle"
},
Expand Down
Loading

0 comments on commit 7f57b0c

Please sign in to comment.