* feat: fix 101_initiail_cluster to not run PRS, but instead wait for tablets to be up and primary promotion by vtorc
Signed-off-by: Manan Gupta <manan@planetscale.com>
* feat: fix remaining binaries in local examples to not call ISP at all and instead rely on VTOrc to elect a primary
Signed-off-by: Manan Gupta <manan@planetscale.com>
* feat: fix region-sharding example too to not call ISP
Signed-off-by: Manan Gupta <manan@planetscale.com>
* feat: use _ instead of i in for loop since i is unused
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
There are no functional changes in this commit, just a pure port with
the most minor changes to ensure identical behavior (like the callback
logger).
I also updated our `proto` target to assume a standard protoc
installation (which installs a stdlib of well-known types into
/usr/local/include). We can decide if this is okay to make a
requirement, or if we should try to make this more portable in PR
review.
I also updated the local example to use the vtctldclient port, and went
through the full example with no issues.
Signed-off-by: Andrew Mason <amason@slack-corp.com>
shellcheck is temporarily disabled due to https://github.com/vitessio/vitess/issues/5305
No new shellcheck issues should be introduced, but there are existing
problems with vtgate-up.sh and vttablet-up.sh which are not addressed.
Signed-off-by: Morgan Tocker <tocker@gmail.com>