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

15694 Коммитов

Автор SHA1 Сообщение Дата
Andres Taylor f1b3d5ee2d Merge remote-tracking branch 'upstream/master' into multi-split-diff
* upstream/master: (77 commits)
  Parents the parent pom of the standard sonatype oss pom for better defaults.
  Allow subclasses of GrpcClientFactory to modify channel builder
  local example: fix typos
  helm: add missing default
  Adds removed vschema
  Add scope to oauth token for gcs backup storage client
  Fix typo in comment
  Calls Unlock explicitly after potetiantly losing it
  shellcheck fixes
  codeclimate fix
  add mysql helper script to local example, remove calls to mysql from scripts, they will be executed by the user using lmysql.sh
  use auth=none for vtgate, move sql scripts to common location
  add vschema ddl syntax to add/remove tables from unsharded keyspaces
  update the show syntax to match the vschema ddl changes
  change the vschema ddl syntax to use `alter vschema ...`
  add back files required for test
  remove unused files, add sql scripts to show intermediate and final results of resharding
  add descriptive comments to scripts, add etcd option, set MYSQL_FLAVOR is it isn't already set
  remove unused scripts
  adapt helm example to run locally
  ...
2018-12-13 11:34:29 +01:00
Andres Taylor d50a6480c4 Made finding destination shards single threaded
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2018-12-13 09:50:35 +01:00
Andres Taylor 2499f32beb Flags multi split diffs as failing before finished
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2018-12-13 08:56:22 +01:00
Michael Pawliszyn 84a3524002
Merge pull request #4447 from mpawliszyn/mikepaw.better-maven-defaults
Parents the parent pom of the standard sonatype oss pom for better de…
2018-12-12 12:00:54 -05:00
Michael Pawliszyn e5081301e8 Parents the parent pom of the standard sonatype oss pom for better defaults.
Signed-off-by: Michael Pawliszyn <mikepaw@squareup.com>
2018-12-12 11:33:48 -05:00
Andres Taylor 850574e0f7 Log more information about errors
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2018-12-12 15:25:46 +01:00
Derek Perkins 1c9d2d58c1 helm: bump Chart to 1.0.2 + changelog
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2018-12-11 08:28:48 -07:00
Niklas Voss 400da158c4 Fixed missing volume of cron job.
Signed-off-by: Niklas Voss <niklas.voss@gmail.com>
2018-12-11 16:11:18 +01:00
Niklas Voss f3e541965b Fixed casing problem of imagePullPolicy fields.
Signed-off-by: Niklas Voss <niklas.voss@gmail.com>
2018-12-11 16:11:18 +01:00
Andres Taylor 5a247cff3b Minor cleanups of the JDBC code
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2018-12-11 11:30:11 +01:00
Michael Demmer be9745195a
Merge pull request #4439 from smourachov/grpc-java-allow-modify-channel-builder
Allow subclasses of GrpcClientFactory to modify channel builder
2018-12-10 08:22:31 -08:00
Andres Taylor 0b6cd4f4c9 Store causes and stack traces from errors
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2018-12-10 15:12:23 +01:00
serguei 7ec016d8c7 Allow subclasses of GrpcClientFactory to modify channel builder
Signed-off-by: Serguei Mourachov <serguei@slack-corp.com>
2018-12-09 15:31:40 -08:00
Sugu Sougoumarane 4f192d1003
Merge pull request #4438 from planetscale/ss-local-fix
local example: fix typos
2018-12-09 10:09:04 -08:00
Sugu Sougoumarane 7f0ee4c744
Merge pull request #4434 from tinyspeck/add-vschema-local-examples
Adds removed vschema
2018-12-09 09:50:17 -08:00
Sugu Sougoumarane c009ca7bf8 local example: fix typos
The tablet kills were inverted between 100 vs 200
Also added a delete of all data on teardown

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2018-12-09 09:46:23 -08:00
Sugu Sougoumarane 43aa7e934c
Merge pull request #4437 from planetscale/ss-default
helm: add missing default
2018-12-08 23:10:10 -08:00
Sugu Sougoumarane 73b3e4a544 helm: add missing default
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2018-12-08 22:20:38 -08:00
Sugu Sougoumarane 8c567f765a
Merge pull request #4419 from derekperkins/remove-mycnf
config: rm secure_file_priv & innodb_support_xa
2018-12-08 22:18:01 -08:00
Rafael Chacon 2103fb0987 Fixes grpc auth options
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
2018-12-08 12:27:06 -08:00
Rafael Chacon 841e07c710 Adds removed vschema
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
2018-12-08 12:08:07 -08:00
Derek Perkins ecb972f2a1
Merge pull request #4433 from Santiclause/gcs-backup-scope
Add scope to oauth token for gcs backup storage client
2018-12-08 00:01:28 -07:00
Michael Demmer 8e64c77c00
Merge pull request #4353 from tinyspeck/fix-for-consul-master-election
Do not reuse a consul lock
2018-12-07 16:27:49 -08:00
Sugu Sougoumarane eccf912893
Merge pull request #4412 from tinyspeck/vschema-alter-syntax
vschema alter syntax
2018-12-07 16:26:14 -08:00
Sugu Sougoumarane 2a950238db
Merge pull request #4429 from planetscale/ds-add-to-example
Enhance local example
2018-12-07 16:17:48 -08:00
Michael Hebelka 74c80ddaec Add scope to oauth token for gcs backup storage client
Signed-off-by: Michael Hebelka <michael.hebelka@sharpspring.com>
2018-12-07 18:39:31 -05:00
Rafael Chacon dc2cbe0e6a Fix typo in comment
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
2018-12-07 15:34:14 -08:00
Rafael Chacon 58d92c769d Refactor Delete plan to be consistent with update
Update plan was changed to support aliases. Even though we don't need aliases
here, this refactor makes sure that the table is set in the same way as is done
in that context. This makes both plans consistent and avoid potential
confusion on why they differ.

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
2018-12-07 15:24:05 -08:00
Rafael Chacon b3a9459de2 Calls Unlock explicitly after potetiantly losing it
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
2018-12-07 14:52:35 -08:00
Derek Perkins 90f8fcf6f1 helm: bump version to 1.0.1 and add changelog
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2018-12-07 15:14:58 -07:00
Derek Perkins 4e7af96ac8 helm: remove old mysql.sock file in InitContainer
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2018-12-07 14:47:31 -07:00
Derek Perkins 455a3d116a helm: add linux monitoring to pmm
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2018-12-07 14:47:23 -07:00
Derek Perkins 239d6d344b helm: support for pmm custom metrics collection
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2018-12-07 14:47:16 -07:00
Derek Perkins 40ae976307 helm: fix pmm bootstrap
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2018-12-07 14:46:26 -07:00
Derek Perkins 4508557d32 helm: add labels to jobs
Signed-off-by: Derek Perkins <derek@derekperkins.com>
2018-12-07 14:46:19 -07:00
Richard Bailey bef3eb5b15 Shift filter.KeyspacesToWatch into gateway package per chat w/ demmer
stop using init in filtering server test

Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
2018-12-07 13:33:47 -08:00
Richard Bailey 744c6b541a add super basic srvtopo.Server impl for use in tests and switch to that instead of real code so that tests are easier to reason about
Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
2018-12-07 13:15:40 -08:00
deepthi d97a1942d5 shellcheck fixes
Signed-off-by: deepthi <deepthi@planetscale.com>
2018-12-07 12:20:23 -08:00
deepthi 0ccc3b9fff codeclimate fix
Signed-off-by: deepthi <deepthi@planetscale.com>
2018-12-07 11:20:37 -08:00
deepthi 2be922a20c add mysql helper script to local example, remove calls to mysql from scripts, they will be executed by the user using lmysql.sh
Signed-off-by: deepthi <deepthi@planetscale.com>
2018-12-07 11:16:37 -08:00
deepthi 06cb4f4ab7 use auth=none for vtgate, move sql scripts to common location
Signed-off-by: deepthi <deepthi@planetscale.com>
2018-12-07 10:14:46 -08:00
Michael Demmer b55d155f8b add vschema ddl syntax to add/remove tables from unsharded keyspaces
Since unsharded keyspaces don't have vindex definitions, implement
a new syntax for adding / removing tables from the vschema:

`alter vschema add table test_table`
`alter vschema drop table test_table`

Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
2018-12-07 09:41:43 -08:00
Michael Demmer ae79ffdec1 update the show syntax to match the vschema ddl changes
Make the show syntax consistent:
`show vschema vindexes`
`show vschema tables`

Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
2018-12-07 09:41:42 -08:00
Michael Demmer 8ea642dd06 change the vschema ddl syntax to use `alter vschema ...`
Rework the vschema syntax so that instead of top-level create/drop
statements and alter table we use a consistent syntax of:

alter vschema create vindex...
alter vschema drop vindex ...
alter vschema on <table> add vindex ...
alter vschema on <table> drop vindex ...

Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
2018-12-07 09:41:42 -08:00
Richard Bailey 1110a8ca75 Rename error to meet lint rules
Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
2018-12-06 18:32:33 -08:00
Richard Bailey 461e7a01ef minor unit test cleanups, add test coverage for nil schema & error passthrough
Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
2018-12-06 18:26:11 -08:00
deepthi 66426a95ed add back files required for test
Signed-off-by: deepthi <deepthi@planetscale.com>
2018-12-06 18:06:39 -08:00
Richard Bailey 893ca579bb PR feedback
Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
2018-12-06 18:01:48 -08:00
deepthi c16933eb5f remove unused files, add sql scripts to show intermediate and final results of resharding
Signed-off-by: deepthi <deepthi@planetscale.com>
2018-12-06 16:27:52 -08:00
deepthi e2ffdb228d add descriptive comments to scripts, add etcd option, set MYSQL_FLAVOR is it isn't already set
Signed-off-by: deepthi <deepthi@planetscale.com>
2018-12-06 12:45:09 -08:00