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

18872 Коммитов

Автор SHA1 Сообщение Дата
Keefer Rourke b3a6383d12 Add another test
Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 15:40:41 -04:00
Keefer Rourke 76446029f2 Add a smoke test for docker compose file generation
Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 15:01:42 -04:00
Keefer Rourke 9c29135c91 Clean up and remove random prints
Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 14:39:57 -04:00
Keefer Rourke 00cd02d246 Move some declarations
- Moved vtOptions struct closer to flags declaration
 - Grouped struct parsing functions

Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 14:07:14 -04:00
Keefer Rourke 165d270cbc Remove some leftover string conversions and inline some vars
Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 13:59:39 -04:00
Keefer Rourke 80b34f1d13 Break up long lines to improve readability
Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 13:56:02 -04:00
Keefer Rourke b2bdc8a9a4 Replace old func implementations that used flag values directly
Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 13:39:57 -04:00
Sugu Sougoumarane 1fd3aea335
Merge pull request #5962 from planetscale/ss-deprecate-v2
deprecation: delete v2 code from vtgate
2020-03-25 10:34:12 -07:00
Keefer Rourke 4a6e8eb2c2 Drill down options to templating funcs
Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 13:29:50 -04:00
Keefer Rourke 1271c9f651 Convert stringly typed vars to strongly typed vars
This will enforce validity of the generated file.

Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 12:21:59 -04:00
Keefer Rourke 5dacb13317 Invert dependencies for generateVt* funcs
Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-25 11:45:15 -04:00
Derek Perkins 54405e5c63 messaging: desc time_next index + typo fix
Signed-off-by: Derek Perkins <derek@nozzle.io>
2020-03-25 08:55:08 -06:00
Rohit Nayak 17dbe4521d
Incorporated lint suggestions
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-25 15:51:11 +01:00
Rohit Nayak 98117d50fe
Renamed resharding workflows
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-25 15:36:00 +01:00
Derek Perkins 5753a96734 messaging: more test fixes
Signed-off-by: Derek Perkins <derek@nozzle.io>
2020-03-25 08:11:03 -06:00
Derek Perkins 64485a31b3 messaging: fix tests
Signed-off-by: Derek Perkins <derek@nozzle.io>
2020-03-25 01:10:42 -06:00
Derek Perkins 47a0813174 messaging: add new priority field
Signed-off-by: Derek Perkins <derek@nozzle.io>
2020-03-25 00:49:02 -06:00
Sugu Sougoumarane 050b037aff deprecation: delete v2 protos
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-24 21:52:55 -07:00
Jacques Grove c656157f03 Skip any binlog events with DML related to the "mysql.rds_*" special
tables in RDS.

This is a hokey way to do it, but this is necessary, since these
events come through as SBR, even if the RDS master is using RBR...
If you don't have this patch, vreplication from an RDS instance
will be overrun with errors like:

E0324 18:35:09.185588 1200506 controller.go:150] stream 2: filter rules
are not supported for SBR replication: ...

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
2020-03-24 21:39:17 -07:00
Sugu Sougoumarane eda961851d
Merge pull request #5961 from planetscale/ds-more-e2e-log
Cluster test logging changes
2020-03-24 17:08:16 -07:00
Sugu Sougoumarane 3f94f05794 deprecation: dead code in resolver, etc
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-24 15:46:27 -07:00
deepthi 449c3f6e5d Add back logging of reserve port because it sometimes hangs in CI. Use vt/log instead of prometheus/common/log
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-03-24 15:29:23 -07:00
Keefer Rourke 8a0b6b1042 Extract struct parsing logic from main
Signed-off-by: Keefer Rourke <keefer@squareup.com>
2020-03-24 17:27:28 -04:00
Rohit Nayak fd3374a538
Also treat binary/blob types as varbinary, gofmt-ed ...
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 21:56:04 +01:00
Rohit Nayak a8ce1a0ba0
Also treat binary/blob types as varbinary
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 21:54:07 +01:00
Sugu Sougoumarane 046ba13821
Merge pull request #5958 from planetscale/ds-e2e-test-logging
Improve logging in cluster tests
2020-03-24 13:07:10 -07:00
Sugu Sougoumarane ffadb39a60
Merge pull request #5935 from planetscale/rn-vrepl-work
VReplication: End to End tests with a few related bug fixes
2020-03-24 13:05:46 -07:00
Sugu Sougoumarane cbc17442c9 deprecation: fix endtoend message
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-24 13:03:30 -07:00
Rohit Nayak e5642dc20a
varchar type can have only varchar or varbinary column types
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 20:24:24 +01:00
Rohit Nayak 320a50da8b
Fixed merge issue
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 19:31:28 +01:00
Rohit Nayak 147a6dbacd
Reset max rows to 10000, had got incorrectly changed
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 19:10:25 +01:00
Rafael Chacon aefb6fc372
Merge pull request #5942 from planetscale/rn-wfgen-flaky-test-fix
Resharding Workflow Gen: Modified logic to find serving shards.
2020-03-24 10:50:05 -07:00
Sugu Sougoumarane 8c9d13ae1a deprecation: fix endtoend verticalsplit
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-24 09:21:34 -07:00
Sugu Sougoumarane f1add91d5d deprecation: delete obsolete files
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-23 22:40:16 -07:00
Sugu Sougoumarane 93852a412f deprecation: delete v2 java code
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-23 22:14:13 -07:00
deepthi 33f3ee5e74 fix failing test, and typo in filename
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-03-23 20:07:43 -07:00
deepthi 0da1d0eb20 Improve logging in cluster tests
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-03-23 19:37:35 -07:00
Derek Perkins 258ad5a319
Merge pull request #5957 from carsonoid/k8stopocompress
Compress all data stored in the k8s topology
2020-03-23 18:24:24 -06:00
Sugu Sougoumarane fb66a4124a
Merge pull request #5955 from planetscale/ds-region-experiment-doc
RegionExperimental: improve doc
2020-03-23 17:11:18 -07:00
Sugu Sougoumarane 8732595e9e
Merge pull request #5727 from lcabancla/lcabancla.resource_pool.waittime.percentiles_3
Added resource pool wait time histogram metrics
2020-03-23 17:09:43 -07:00
Rohit Nayak ccad250ea7
Merge branch 'vrepl-filter' of github.com:planetscale/vitess into vrepl-filter
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 00:45:55 +01:00
Rohit Nayak 3caa0ea90f
Removed extraneous log
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 00:45:34 +01:00
Rohit Nayak 1d5eab1031
Only use styp if not null
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 00:45:34 +01:00
Rohit Nayak f20ad6364a
Vreplication and multiple where clause tests
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 00:45:34 +01:00
Rohit Nayak c7c7e3f40b
Handle varbinary correctly
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 00:45:31 +01:00
Rohit Nayak 25cd62343b
Added support for varbinary, tests for both int/varbinary
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 00:43:07 +01:00
Carson Anderson 4d406bdab5 Compress all data stored in the k8s topology
This will dramatically reduce the possibility that any one topology node
will exceed the Kubernetes object size limit of 1 Mb for K8s < 1.13 and 1.5 for
 K8s >= 1.13

Signed-off-by: Carson Anderson <ca@carsonoid.net>
2020-03-23 17:41:54 -06:00
Rohit Nayak a80b389056
Test case for int filter
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 00:41:03 +01:00
Rohit Nayak 1e40496a5b
Update test cases for where clause
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2020-03-24 00:38:46 +01:00
Sugu Sougoumarane 186247f9a2 deprecation: delete v2 api code and tests
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-23 16:38:37 -07:00