Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
3c64a22
Upgrade golang protobuf to v1.1.0
dweitzman Jun 8, 2018
58bf0a6
Parsing support for SHOW COLLATION WHERE
dweitzman Jul 3, 2018
69a63c4
Merge pull request #4067 from dweitzman/sqlalchemy_collation
sougou Jul 9, 2018
7187ed6
Using the configuration error string in this test.
alainjobart Jul 10, 2018
5c059ad
Merge pull request #4076 from alainjobart/exceeded
alainjobart Jul 10, 2018
76bf812
Fixing flakiness in this test.
alainjobart Jul 11, 2018
085e2b2
dev.env: fix pypath typo
sougou Jul 11, 2018
f7feb3f
Merge pull request #4078 from alainjobart/flaky
sougou Jul 11, 2018
902e3d0
Moving stats variable escaping to its own file.
alainjobart Jul 11, 2018
8c34152
Merge pull request #4080 from alainjobart/encoding
alainjobart Jul 11, 2018
d5b2279
Fix bug found in dev: Orchestrator returns an empty length
zmagg Jul 11, 2018
dba709b
sqlparser: parse LOCK and UNLOCK TABLES statements
dt May 18, 2018
debb5ac
Merge pull request #4081 from tinyspeck/fix-repair-replication-orc-ac…
sougou Jul 12, 2018
eb0628f
Merge pull request #4079 from sougou/devenv
sougou Jul 12, 2018
3a51649
Merge pull request #4083 from dt/lock
sougou Jul 12, 2018
24eca5f
sqlparser: capture FOREIGN KEY constraints in AST
dt Jul 12, 2018
5930793
Merge pull request #4085 from dt/fk
sougou Jul 12, 2018
edd424d
sqlparser: use specific error for empty statements
dt Jul 12, 2018
82f3c26
sqlparser: add StrictDDL variant of ParseNext
dt Jul 12, 2018
5501814
Merge pull request #4084 from dt/empty
sougou Jul 12, 2018
d03dedc
Merge pull request #4082 from dt/strict
sougou Jul 12, 2018
3f90481
nomycnf: simplify dbconfigs
sougou Jul 15, 2018
418e36b
nomycnf: solidfy DBConfigs
sougou Jul 16, 2018
7df3116
nomycnf: remove leftover legacy params
sougou Jul 16, 2018
f1b1068
nomycnf: add use_ssl flag
sougou Jul 16, 2018
77d9f21
nomycnf: address review comments
sougou Jul 17, 2018
0dfff0e
Merge pull request #4088 from sougou/nomycnf
sougou Jul 17, 2018
53da382
vtgate: fix panic on 'analyze table'
sougou Jul 18, 2018
fbb85d8
Merge pull request #4090 from sougou/panic
sougou Jul 18, 2018
41ed273
In java, proto3 strings are never null.
alainjobart Jul 18, 2018
db78bc4
sqlparser: add option to skip special comments
dt Jul 18, 2018
11f4ef5
Merge pull request #4091 from alainjobart/javaproto
sougou Jul 18, 2018
753bf42
nomycnf: operate without mycnf more naturally
sougou Jul 19, 2018
013f007
make the query log timestamps more parseable
demmer Jul 19, 2018
4789c81
update tests to new date format
demmer Jul 20, 2018
d8d26c7
nomycnf: address review comments
sougou Jul 20, 2018
cf6afb6
Merge pull request #4096 from tinyspeck/logstats-dates-should-be-pars…
sougou Jul 20, 2018
ac11628
nomycnf: add atest for Backup failure
sougou Jul 20, 2018
2e94e3e
Merge pull request #4094 from sougou/nomycnf
sougou Jul 21, 2018
825b058
Show vitess target
tirsen May 29, 2018
f6c7464
Do not update replication data if sanity check fails
Jul 24, 2018
cc0d6a7
Remove RefreshConfig()
Jul 24, 2018
71a9f18
Update tests to reflect new behavior
Jul 24, 2018
f3fa98d
Merge pull request #4092 from dt/skip-comment
sougou Jul 25, 2018
ff2984a
Merge pull request #4101 from tinyspeck/revert-refresh-config
sougou Jul 25, 2018
fc0eee0
Merge pull request #4102 from tinyspeck/fix-initialize-tablet
sougou Jul 25, 2018
11ecb52
Merge pull request #3962 from tirsen/show-vitess-target
sougou Jul 26, 2018
6d4511d
build: update for latest goyacc
sougou Jul 25, 2018
6fe8fa8
Merge pull request #4106 from sougou/rebuild
sougou Jul 26, 2018
821af0a
Parser fixes for mysql.connector preamble queries
jvaidya Jul 23, 2018
55c9fed
Addressed review comments, added a missing test
jvaidya Jul 23, 2018
a8a13b0
Addressed review comments, added a missing test
jvaidya Jul 23, 2018
f03cc15
Address comments by @sougou
jvaidya Jul 25, 2018
153cb28
Merge pull request #4097 from jvaidya/parser_fixes
sougou Jul 26, 2018
12be39a
support create table like statement
klkyy2020 Jul 27, 2018
ab2c542
fix for golint suggestion
klkyy2020 Jul 27, 2018
22669e9
Merge pull request #4010 from dweitzman/protobuf_v1.1.0
sougou Jul 28, 2018
efe76e4
flakyness: fix mariadb test
sougou Jul 29, 2018
c38acb7
Add Vagrant file and helpers script to run vitess inside a vagrant ma…
Apr 15, 2018
848105c
Fix for integration tests
Jul 29, 2018
6ec3e27
Shellcheck fixes
Jul 29, 2018
c07b961
More shellcheck fixes
Jul 29, 2018
2d148d1
flakyness: buffer_test
sougou Jul 29, 2018
d96736f
just For uniformity
klkyy2020 Jul 30, 2018
f2889b5
add some test cases for create-like
klkyy2020 Jul 30, 2018
8b4b765
flakyness: vtgatev2_test
sougou Jul 29, 2018
cb6bd97
flakyness: update_stream
sougou Jul 29, 2018
febbc63
support in vtexplain
klkyy2020 Jul 30, 2018
9bb0a39
fix spelling mistakes
klkyy2020 Jul 30, 2018
590edcf
Merge branch 'master' into create-like
klkyy2020 Jul 30, 2018
b29867b
Go 1.11 fix for certificate common name.
alainjobart Jul 30, 2018
d523741
Merge pull request #4114 from alainjobart/tls
alainjobart Jul 30, 2018
672186c
Merge pull request #4113 from sougou/flakes
sougou Jul 30, 2018
ada7d10
Merge remote-tracking branch 'upstreams/master' into create-like
klkyy2020 Jul 31, 2018
b682e87
fix conflict: sql.go
klkyy2020 Jul 31, 2018
c32e436
Merge pull request #4111 from klkyy/create-like
sougou Jul 31, 2018
cd50187
Merge pull request #4112 from tinyspeck/add-vagrant-file
sougou Aug 1, 2018
f7d2649
Fix issue where stopping a workflow nevers finish due to Run method b…
Aug 6, 2018
cda72c2
Actually test what I want to test.
Aug 7, 2018
3d47956
We don't need notifications for this test
Aug 7, 2018
a545506
Updates per review
Aug 8, 2018
8748713
Merge pull request #4125 from tinyspeck/fix-workflow-stop-issue
demmer Aug 9, 2018
a2eca07
Merge branch 'upstream-master' into slack-sync-upstream-2018.08.09r1
Aug 9, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ releases
/web/vtctld2/bower.json~
/web/vtctld2/public/bower_components/


# Vagrant
.vagrant
13 changes: 2 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ PROTO_SRCS = $(wildcard proto/*.proto)
PROTO_SRC_NAMES = $(basename $(notdir $(PROTO_SRCS)))
PROTO_PY_OUTS = $(foreach name, $(PROTO_SRC_NAMES), py/vtproto/$(name)_pb2.py)
PROTO_GO_OUTS = $(foreach name, $(PROTO_SRC_NAMES), go/vt/proto/$(name)/$(name).pb.go)
PROTO_GO_TEMPS = $(foreach name, $(PROTO_SRC_NAMES), go/vt/.proto.tmp/$(name).pb.go)

# This rule rebuilds all the go and python files from the proto definitions for gRPC.
proto: proto_banner $(PROTO_GO_OUTS) $(PROTO_PY_OUTS)
Expand All @@ -152,19 +151,11 @@ endif
$(PROTO_PY_OUTS): py/vtproto/%_pb2.py: proto/%.proto
$(PROTOC_COMMAND) -Iproto $< --python_out=py/vtproto --grpc_python_out=py/vtproto

$(PROTO_GO_OUTS): $(PROTO_GO_TEMPS)
$(PROTO_GO_OUTS): install_protoc-gen-go proto/*.proto
for name in $(PROTO_SRC_NAMES); do \
mkdir -p go/vt/proto/$${name}; \
cp -a go/vt/.proto.tmp/$${name}.pb.go go/vt/proto/$${name}/$${name}.pb.go; \
cd $(VTROOT)/src && PATH=$(VTROOT)/bin:$(PATH) $(VTROOT)/bin/protoc --go_out=plugins=grpc:. -Ivitess.io/vitess/proto vitess.io/vitess/proto/$${name}.proto; \
done

$(PROTO_GO_TEMPS): install_protoc-gen-go

$(PROTO_GO_TEMPS): go/vt/.proto.tmp/%.pb.go: proto/%.proto
mkdir -p go/vt/.proto.tmp
$(PROTOC_COMMAND) -Iproto $< --plugin=grpc=protoc-gen-go --go_out=plugins=grpc:go/vt/.proto.tmp
sed -i -e 's,import \([a-z0-9_]*\) ".",import \1 "vitess.io/vitess/go/vt/proto/\1",g' $@

# Helper targets for building Docker images.
# Please read docker/README.md to understand the different available images.

Expand Down
56 changes: 56 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
ENV["LC_ALL"] = "en_US.UTF-8"

Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.hostname = 'vitess'

config.vm.network "private_network", type: "dhcp"

# vtctld
config.vm.network "forwarded_port", guest: 8000, host: 8000 # http
config.vm.network "forwarded_port", guest: 15000, host: 15000 # http
config.vm.network "forwarded_port", guest: 15999, host: 15999 # grpc

# vtgate
config.vm.network "forwarded_port", guest: 15001, host: 15001 # http
config.vm.network "forwarded_port", guest: 15991, host: 15991 # grpc
config.vm.network "forwarded_port", guest: 15306, host: 15306 # mysql

# vttablet 1
config.vm.network "forwarded_port", guest: 15100, host: 15100 # http
config.vm.network "forwarded_port", guest: 16100, host: 16100 # grpc

# vttablet 2
config.vm.network "forwarded_port", guest: 15101, host: 15101 # http
config.vm.network "forwarded_port", guest: 16101, host: 16101 # grpc

# vttablet 3
config.vm.network "forwarded_port", guest: 15102, host: 15102 # http
config.vm.network "forwarded_port", guest: 16102, host: 16102 # grpc

# vttablet 4
config.vm.network "forwarded_port", guest: 15103, host: 15103 # http
config.vm.network "forwarded_port", guest: 16103, host: 16103 # grpc

# vttablet 5
config.vm.network "forwarded_port", guest: 15104, host: 15104 # http
config.vm.network "forwarded_port", guest: 16104, host: 16104 # grpc

# Demo Appp
config.vm.network "forwarded_port", guest: 8000, host: 8000 # http

# If possible, use nfs, this gives a good boost to IO operations in the VM.
# if you run into with nfs, just remove this from the synced folder

config.vm.synced_folder ".", "/vagrant/src/vitess.io/vitess", type: "nfs"

config.vm.provider :virtualbox do |vb|
vb.name = "vitess"
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--cpuexecutioncap", "85"]
vb.customize [ "modifyvm", :id, "--uartmode1", "disconnected" ]
vb.memory = 12888
vb.cpus = 4
end
config.vm.provision "shell", path: "./vagrant-scripts/bootstrap_vm.sh"
end
20 changes: 19 additions & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,24 @@ function install_grpc() {
install_dep "gRPC" "1.10.0" "$VTROOT/dist/grpc" install_grpc


# Install protoc.
function install_protoc() {
local version="$1"
local dist="$2"

case $(uname) in
Linux) local platform=linux;;
Darwin) local platform=osx;;
esac

wget "https://github.com/google/protobuf/releases/download/v$version/protoc-$version-$platform-x86_64.zip"
unzip "protoc-$version-$platform-x86_64.zip"
ln -snf "$dist/bin/protoc" "$VTROOT/bin/protoc"
}
protoc_ver=3.5.1
install_dep "protoc" "$protoc_ver" "$VTROOT/dist/vt-protoc-$protoc_ver" install_protoc


# Install Zookeeper.
function install_zookeeper() {
local version="$1"
Expand Down Expand Up @@ -233,7 +251,7 @@ function install_chromedriver() {
unzip -o -q chromedriver_linux64.zip -d "$dist"
rm chromedriver_linux64.zip
}
install_dep "chromedriver" "2.25" "$VTROOT/dist/chromedriver" install_chromedriver
install_dep "chromedriver" "2.40" "$VTROOT/dist/chromedriver" install_chromedriver


#
Expand Down
7 changes: 5 additions & 2 deletions config/mycnf/master_mysql56.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ log_bin
log_slave_updates
enforce_gtid_consistency

# Ignore relay logs on disk at startup.
relay_log_recovery
# Crash-safe replication settings.
master_info_repository = TABLE
relay_log_info_repository = TABLE
relay_log_purge = 1
relay_log_recovery = 1

# Native AIO tends to run into aio-max-nr limit during test startup.
innodb_use_native_aio = 0
2 changes: 1 addition & 1 deletion dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ IFS="
"
# Note that the escaped ( ) around the -or expression are important.
# Otherwise, the -print would match *all* files.
for p in $(find "$VTROOT/dist" \( -name site-packages -or -name dist-packages \) -print); do
for pypath in $(find "$VTROOT/dist" \( -name site-packages -or -name dist-packages \) -print); do
PYTHONPATH=$(prepend_path "$PYTHONPATH" "$pypath")
done
IFS="$BACKUP_IFS"
Expand Down
6 changes: 3 additions & 3 deletions doc/SeparatingVttabletMysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ The following adjustments need to be made to VTTablet command line parameters:

* Do not use `-mycnf_socket_file`. There is no local MySQL unix socket file.

* Specify the host and port of the MySQL daemon for the `-db-config-XXX-host`
and `-db-config-XXX-port` command line parameters. Do not specify
`-db-config-XXX-unixsocket` parameters.
* Specify the host and port of the MySQL daemon for the `-db\_host`
and `-db\_port` command line parameters. Do not specify
`-db\_socket` parameters.

* Disable restores / backups, by not passing any backup command line
parameters. Specifically, `-restore_from_backup` and
Expand Down
49 changes: 29 additions & 20 deletions doc/ServerConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,36 +256,45 @@ the binlogs in `/mnt/bin-logs`:

VTTablet requires multiple user credentials to perform its tasks. Since it's required to run on the same machine as MySQL, it’s most beneficial to use the more efficient unix socket connections.

**connection** parameters

* **db\_socket**: The unix socket to connect on. If this is specifed, host and port will not be used.
* **db\_host**: The host name for the tcp connection.
* **db\_port**: The tcp port to be used with the db\_host.
* **db\_charset**: Character set. Only utf8 or latin1 based character sets are supported.
* **db\_flags**: Flag values as defined by MySQL.
* **db\ssl\_ca, db\_ssl\_ca\_path, db\_ssl\_cert, db\_ssl\_key**: SSL flags.


**app** credentials are for serving app queries:

* **db-config-app-unixsocket**: MySQL socket name to connect to.
* **db-config-app-uname**: App username.
* **db-config-app-pass**: Password for the app username. If you need a more secure way of managing and supplying passwords, VTTablet does allow you to plug into a "password server" that can securely supply and refresh usernames and passwords. Please contact the Vitess team for help if you’d like to write such a custom plugin.
* **db-config-app-charset**: The only supported character set is utf8. Vitess still works with latin1, but it’s getting deprecated.
* **db\_app\_user**: App username.
* **db\_app\_password**: Password for the app username. If you need a more secure way of managing and supplying passwords, VTTablet does allow you to plug into a "password server" that can securely supply and refresh usernames and passwords. Please contact the Vitess team for help if you’d like to write such a custom plugin.
* **db\_app\_use\_ssl**: Set this flag to false if you don't want to use SSL for this connection. This will allow you to turn off SSL for all users except for `repl`, which may have to be turned on for replication that goes over open networks.

**appdebug** credentials are for the appdebug user:

* **db\_appdebug\_user**
* **db\_appdebug\_password**
* **db\_appdebug\_use\_ssl**

**dba** credentials will be used for housekeeping work like loading the schema or killing runaway queries:

* **db-config-dba-unixsocket**
* **db-config-dba-uname**
* **db-config-dba-pass**
* **db-config-dba-charset**
* **db\_dba\_user**
* **db\_dba\_password**
* **db\_dba\_use\_ssl**

**repl** credentials are for managing replication. Since repl connections can be used across machines, you can optionally turn on encryption:
**repl** credentials are for managing replication.

* **db-config-repl-uname**
* **db-config-repl-pass**
* **db-config-repl-charset**
* **db-config-repl-flags**: If you want to enable SSL, this must be set to 2048.
* **db-config-repl-ssl-ca**
* **db-config-repl-ssl-cert**
* **db-config-repl-ssl-key**
* **db\_repl\_user**
* **db\_repl\_password**
* **db\_repl\_use\_ssl**

**filtered** credentials are for performing resharding:

* **db-config-filtered-unixsocket**
* **db-config-filtered-uname**
* **db-config-filtered-pass**
* **db-config-filtered-charset**
* **db\_filtered\_user**
* **db\_filtered\_password**
* **db\_filtered\_use\_ssl**

### Monitoring

Expand Down
20 changes: 1 addition & 19 deletions examples/compose/vttablet-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,6 @@ if [ "$uid" = "1" ]; then
tablet_role='master'
fi

dbconfig_dba_flags="\
-db-config-dba-uname root \
-db-config-dba-charset utf8"

dbconfig_flags="$dbconfig_dba_flags \
-db-config-app-uname root \
-db-config-app-charset utf8 \
-db-config-appdebug-uname root \
-db-config-appdebug-charset utf8 \
-db-config-allprivs-uname root \
-db-config-allprivs-charset utf8 \
-db-config-repl-uname root \
-db-config-repl-charset utf8 \
-db-config-filtered-uname root \
-db-config-filtered-charset utf8"

init_db_sql_file="$VTROOT/init_db.sql"
echo "GRANT ALL ON *.* TO 'root'@'%';" > $init_db_sql_file

Expand All @@ -52,7 +36,6 @@ fi
$VTROOT/bin/mysqlctl \
-log_dir $VTDATAROOT/tmp \
-tablet_uid $uid \
$dbconfig_dba_flags \
-mysql_port 3306 \
$action &

Expand All @@ -78,5 +61,4 @@ exec $VTROOT/bin/vttablet \
-grpc_port $GRPC_PORT \
-service_map 'grpc-queryservice,grpc-tabletmanager,grpc-updatestream' \
-pid_file $VTDATAROOT/$tablet_dir/vttablet.pid \
-vtctld_addr http://vtctld:$WEB_PORT/ \
$dbconfig_flags
-vtctld_addr "http://vtctld:$WEB_PORT/"
14 changes: 0 additions & 14 deletions examples/kubernetes/vttablet-pod-benchmarking-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,6 @@ spec:
-init_shard {{shard}}
-init_tablet_type {{tablet_type}}
-mysqlctl_socket $VTDATAROOT/mysqlctl.sock
-db-config-app-uname vt_app
-db-config-app-dbname vt_{{keyspace}}
-db-config-app-charset utf8
-db-config-dba-uname vt_dba
-db-config-dba-dbname vt_{{keyspace}}
-db-config-dba-charset utf8
-db-config-repl-uname vt_repl
-db-config-repl-dbname vt_{{keyspace}}
-db-config-repl-charset utf8
-db-config-filtered-uname vt_filtered
-db-config-filtered-dbname vt_{{keyspace}}
-db-config-filtered-charset utf8
-queryserver-config-transaction-cap 300
-queryserver-config-schema-reload-time 1
-queryserver-config-pool-size 100
Expand Down Expand Up @@ -98,8 +86,6 @@ spec:
-alsologtostderr
-tablet_uid {{uid}}
-socket_file $VTDATAROOT/mysqlctl.sock
-db-config-dba-uname vt_dba
-db-config-dba-charset utf8
-init_db_sql_file $VTROOT/config/init_db.sql" vitess
env:
- name: EXTRA_MY_CNF
Expand Down
14 changes: 0 additions & 14 deletions examples/kubernetes/vttablet-pod-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ spec:
-init_tablet_type {{tablet_type}}
-health_check_interval 5s
-mysqlctl_socket $VTDATAROOT/mysqlctl.sock
-db-config-app-uname vt_app
-db-config-app-dbname vt_{{keyspace}}
-db-config-app-charset utf8
-db-config-dba-uname vt_dba
-db-config-dba-dbname vt_{{keyspace}}
-db-config-dba-charset utf8
-db-config-repl-uname vt_repl
-db-config-repl-dbname vt_{{keyspace}}
-db-config-repl-charset utf8
-db-config-filtered-uname vt_filtered
-db-config-filtered-dbname vt_{{keyspace}}
-db-config-filtered-charset utf8
-enable_semi_sync
-enable_replication_reporter
-orc_api_url http://orchestrator/api
Expand Down Expand Up @@ -107,8 +95,6 @@ spec:
-alsologtostderr
-tablet_uid {{uid}}
-socket_file $VTDATAROOT/mysqlctl.sock
-db-config-dba-uname vt_dba
-db-config-dba-charset utf8
-init_db_sql_file $VTROOT/config/init_db.sql" vitess
env:
- name: EXTRA_MY_CNF
Expand Down
1 change: 0 additions & 1 deletion examples/local/vttablet-down.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ for uid_index in $uids; do

echo "Stopping MySQL for tablet $alias..."
$VTROOT/bin/mysqlctl \
-db-config-dba-uname vt_dba \
-tablet_uid $uid \
shutdown &
done
Expand Down
21 changes: 0 additions & 21 deletions examples/local/vttablet-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,6 @@ fi
script_root=`dirname "${BASH_SOURCE}"`
source $script_root/env.sh

dbconfig_dba_flags="\
-db-config-dba-uname vt_dba \
-db-config-dba-charset utf8"
dbconfig_flags="$dbconfig_dba_flags \
-db-config-app-uname vt_app \
-db-config-app-dbname vt_$keyspace \
-db-config-app-charset utf8 \
-db-config-appdebug-uname vt_appdebug \
-db-config-appdebug-dbname vt_$keyspace \
-db-config-appdebug-charset utf8 \
-db-config-allprivs-uname vt_allprivs \
-db-config-allprivs-dbname vt_$keyspace \
-db-config-allprivs-charset utf8 \
-db-config-repl-uname vt_repl \
-db-config-repl-dbname vt_$keyspace \
-db-config-repl-charset utf8 \
-db-config-filtered-uname vt_filtered \
-db-config-filtered-dbname vt_$keyspace \
-db-config-filtered-charset utf8"
init_db_sql_file="$VTROOT/config/init_db.sql"

case "$MYSQL_FLAVOR" in
Expand Down Expand Up @@ -93,7 +74,6 @@ for uid_index in $uids; do
$VTROOT/bin/mysqlctl \
-log_dir $VTDATAROOT/tmp \
-tablet_uid $uid \
$dbconfig_dba_flags \
-mysql_port $mysql_port \
$action &
done
Expand Down Expand Up @@ -142,7 +122,6 @@ for uid_index in $uids; do
-pid_file $VTDATAROOT/$tablet_dir/vttablet.pid \
-vtctld_addr http://$hostname:$vtctld_web_port/ \
$optional_auth_args \
$dbconfig_flags \
> $VTDATAROOT/$tablet_dir/vttablet.out 2>&1 &

echo "Access tablet $alias at http://$hostname:$port/debug/status"
Expand Down
Loading