Граф коммитов

17407 Коммитов

Автор SHA1 Сообщение Дата
Nitin Shatma ea43aad819 review-feedback
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-09-24 21:03:21 -07:00
Nitin Shatma 4c8fd6d6c1 minor-cleanup
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-09-24 21:03:21 -07:00
Nitin Shatma db326ae748 vstream optional field event
Signed-off-by: Nitin Shatma <nitin.sharma@airbnb.com>
2019-09-24 21:03:21 -07:00
chentanjun b3957df4d3 fix-up typo
Signed-off-by: chentanjun <2799194073@qq.com>
2019-09-25 11:28:00 +08:00
Sugu Sougoumarane c07fa11bab
Merge pull request #5217 from planetscale/morgo-update-logos
Add missing logos from website
2019-09-24 09:52:45 -07:00
Morgan Tocker 4d6432c672 Add Peak Games
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-09-24 10:01:21 -06:00
deepthi b329e03a49 fix docker files for xtrabackup
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-24 08:33:13 -07:00
Morgan Tocker 8ce2790b2c Add missing logos from website
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-09-24 09:24:27 -06:00
Sugu Sougoumarane 69528cbfb6
Merge pull request #5195 from systay/spancontext-over-sql
Use standard opentracing TextMap instead of custom backend code
2019-09-24 07:07:15 -07:00
Sugu Sougoumarane 4b6f0434c3
Merge pull request #5215 from planetscale/jacques_#5214
Fix for #5214 by adding back bits of install_protoc-gen-go
2019-09-24 06:18:31 -07:00
Jon Tirsen 0459a0c581
Merge pull request #5213 from lyonlai/ylai-190923-exclude-tables-in-workflow
Added exclude_tables flag in workflow and pass it down to vtworker
2019-09-24 12:13:07 +10:00
Yun Lai b600193b8c Added exclude_tables flag in workflow and pass it down to vtworker
Signed-off-by: Yun Lai <ylai@squareup.com>
2019-09-24 11:15:12 +10:00
Jacques Grove 0c493d6bb2 Fix for #5214 by adding back bits of install_protoc-gen-go
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
2019-09-23 17:33:28 -07:00
Jon Tirsen 909d0c8861
Merge pull request #5211 from kalfonso/kalfonso.190924-init-workflow-manager
Allow enabling workflow manager in vttestserver
2019-09-23 11:36:26 +10:00
Karel Alfonso Sague 03cc7e1717 Allow enabling workflow manager in vttestserver
Signed-off-by: Karel Alfonso Sague <kalfonso@squareup.com>
2019-09-23 11:00:53 +10:00
Sugu Sougoumarane 0cac4b8615
Merge pull request #5199 from yuxiaobo96/vitess-update3
Grammar tweak
2019-09-20 19:28:25 -07:00
Sugu Sougoumarane 3f4970b890
Merge pull request #5209 from planetscale/sa-5204
Fixed Panic for handlePrepare in Prepared statements
2019-09-20 19:26:42 -07:00
Sugu Sougoumarane d571117f4f
Merge pull request #5210 from planetscale/ds-fix-repeat-ter
TER should not demote current master if it is run with current master
2019-09-20 19:26:10 -07:00
deepthi 5a1c6842cc TER should not demote current master if it is run with current master
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-20 17:55:01 -07:00
Saif Alharthi ba93b15fb7 Fixed Panic for handlePrepare
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
2019-09-20 15:11:21 -07:00
Andres Taylor 4e21d89872 Typos
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2019-09-19 07:43:10 +02:00
Andres Taylor 2722a14ae9 Add startup argument to stop tablet from reparent
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2019-09-19 06:18:59 +02:00
yuxiaobo 6400e9be7a Grammar tweak
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-09-18 11:16:44 +08:00
Jon Tirsen 922dde1742
Merge pull request #5198 from kalfonso/kalfonso-190917-workflow-ui-consistent-snapshot
Enable selecting consistent snapshot during resharding workflows via …
2019-09-18 13:00:45 +10:00
Karel Alfonso Sague f950b3c25c Enable selecting consistent snapshot during resharding workflows via vtctld ui
Signed-off-by: Karel Alfonso Sague <kalfonso@squareup.com>
2019-09-18 12:09:14 +10:00
Deepthi Sigireddi 3a21af2e40
Merge pull request #5000 from planetscale/ds-4426
check replication lag on state change before starting query service
2019-09-17 18:00:38 -07:00
Sugu Sougoumarane 1f8c0c591a
Merge pull request #5197 from tinyspeck/fix-password-not-redactec
Redact password from error log
2019-09-17 16:52:38 -07:00
Rafael Chacon 7922f45c34 The error coming from mysql could have the password. We need to redact
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
2019-09-17 10:09:36 -07:00
deepthi 06e5a5fc9f keep BackupHandle out of Params structs, document struct fiels, other minor edits
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-16 18:01:00 -07:00
deepthi b557848d94 ensure slave is caught up or progressing before trusting SecondsBehindMaster during backup/restore.
separate disallowQueryService from disallowQueryReason.
disallowQueryReason was being used to permanently disable query service,
but for lagging tablets we want to disable it temporarily.
change ExecuteBackup and ExecuteRestore to accept BackupParams and
RestoreParams instead of a long list of arguments.

Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-16 18:01:00 -07:00
deepthi 8fe0fb8837 start restored tablets in NON-SERVING state
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-16 18:01:00 -07:00
deepthi 639b695bd8 update replicationDelay for all serving non-master tablet types
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-16 18:01:00 -07:00
Anthony Yeh 9cd0b11620
xtrabackup: Add a timeout on closing backup files. (#5193)
* xtrabackup: Add a timeout on closing backup files.

We've seen backup attempts that apparently stalled while waiting for
Close() on the file returned by AddFile() to return. We've only seen
this on xtrabackup backups, likely because we perform a small number of
long-running file uploads, instead of uploading each file individually.

This adds a timeout to the Close() step. If it times out, the backup
will be aborted and will need to be retried from scratch. However,
that's better than getting stuck forever.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>

* Add comment to document intentional hang.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-09-16 12:05:35 -07:00
Anthony Yeh 250a2fe1b2
vtbackup: Retry fetching master position. (#5192)
We've seen that this could get stuck if vtbackup happens to read the
master tablet record while the tablet is unreachable, and then the
tablet comes back up with a different address. This adds a retry that
re-reads the shard and tablet records to pick up any changes in the
master alias or tablet address.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-09-16 12:05:16 -07:00
Sugu Sougoumarane 521e55710e
Merge pull request #5184 from adsr/pool-exhausted-stat
Track number of times pool reached zero available slots
2019-09-15 23:01:21 -07:00
Andres Taylor 978108243a Use standard opentracing TextMap instead of custom backend code
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2019-09-16 06:01:43 +02:00
Sugu Sougoumarane cfe43b3439
Merge pull request #5179 from planetscale/ss-vrepl-better-sql
vreplication: more VReplicationExec constructs
2019-09-15 18:18:06 -07:00
Sugu Sougoumarane 428c46866f vreplication: address review comments
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-09-14 10:43:22 -07:00
Sugu Sougoumarane 2c170a9688
Merge pull request #5190 from planetscale/ds-rm-expected-errmsg
remove non-informative error message that is printed on every restart
2019-09-13 16:34:51 -07:00
Deepthi Sigireddi 6ff90acc8a
Merge pull request #5151 from planetscale/ds-reparent
make TabletExternallyReparented more robust
2019-09-13 16:02:49 -07:00
deepthi dafaae1a90 remove non-informative error message that is printed on every restart, cleanup error messages
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-13 14:30:12 -07:00
deepthi 90d3b8a8d7 defer event update, only make a copy of tablet if we are changing it, use one tmc for all calls to RefreshState
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-13 14:24:23 -07:00
Rasika Kale d0fed7bef8 Merge remote-tracking branch 'origin/master' into rk-newmult
Signed-off-by: Rasika Kale <rasika@planetscale.com>
2019-09-13 14:06:06 -07:00
Deepthi Sigireddi 2bf60f2154
Merge pull request #5187 from planetscale/ds-fix-flaky-test
fix flaky test and unit_race failure
2019-09-12 22:20:34 -07:00
deepthi 91e4977e0d fix unit_race failures
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-12 21:28:21 -07:00
deepthi cf020fbfca fix flaky test
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-09-12 21:28:21 -07:00
Sugu Sougoumarane 2e650aaf96
Merge pull request #5185 from planetscale/docker-bootstrap-fix
docker/bootstrap: Add back VT_MYSQL_ROOT.
2019-09-12 21:24:55 -07:00
Anthony Yeh f97a82bfe7 Use Go modules to run goyacc.
Since all Go tools have been removed from bootstrap.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-09-12 21:29:15 +00:00
Anthony Yeh 8278be029e docker/bootstrap: Add back VT_MYSQL_ROOT.
Without this, all tests fail because Vitess can't find mysqld:

failed init mysql: mysqld not found in any of
/vt/{sbin,bin,libexec,scripts}

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-09-12 21:29:15 +00:00
Rasika Kale 5a18b06c04 Merge remote-tracking branch 'origin/master' into rk-newmult
Signed-off-by: Rasika Kale <rasika@planetscale.com>
2019-09-12 13:23:44 -07:00