Saif Alharthi
490a0cfe5f
Fix conflict
...
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
2020-01-20 13:49:13 -08:00
Saif Alharthi
bd5c3db97c
Support additional SHOW synatx
...
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Revert previous change (wrong branch!)
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Resolve yaml conflict
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
vrepl: ExternalizeVindex
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
vrepl: ExternalizeVindex vtctl command
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
adds position and last token context to parse errors
Signed-off-by: cmoog <moogcharlie@gmail.com>
adds unit tests for PositionedErr parse error
Signed-off-by: cmoog <moogcharlie@gmail.com>
Add datadog plugin for tracing
Signed-off-by: Karel Alfonso Sague <kalfonso@squareup.com>
prepare statment test case.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
prepared_statement: comments changes as per idiomatic go, removed elses.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
prepared_statement: unwanted dependency removed.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
prepare_statement: dummy commit.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
patches error logic
Signed-off-by: cmoog <moogcharlie@gmail.com>
vitess-mixin: add structure & first 2 dashboards
Signed-off-by: Guido Iaquinti <giaquinti@slack-corp.com>
Address #5734 by forming MySQL error packet on query parse error during
COM_PREPARE
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
2020-01-20 13:32:12 -08:00
deepthi
2dc1c7861d
Deprecate disable_local_gateway flag. It should have been removed along with l2vtgate functionality
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-01-20 12:30:06 -08:00
Morgan Tocker
22217bb44d
Slightly improve error message
...
Mention config var which is causing the failure.
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-01-20 11:59:32 -07:00
Anthony Yeh
b23afc0074
ApplySchema: Allow ALTER DATABASE.
...
This allows using vtctl ApplySchema to execute ALTER DATABASE across all
shards of a keyspace.
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2020-01-20 10:56:32 -08:00
Deepthi Sigireddi
1a2cddfefb
Merge pull request #5736 from planetscale/ss-vstream-defaults
...
vstream: support default values
2020-01-20 10:40:36 -08:00
Sugu Sougoumarane
8c6fd678fa
Merge pull request #5735 from planetscale/jacques_5734
...
Address #5734 by forming MySQL error packet on query parse error during
2020-01-19 09:05:06 -08:00
Sugu Sougoumarane
bd8205ebca
Merge pull request #5609 from guidoiaquinti/vitess_mixin
...
vitess-mixin: add structure & first 2 dashboards
2020-01-19 01:58:53 -08:00
Sugu Sougoumarane
c9d2a14364
Merge pull request #5737 from cmoog/pos_parse_err
...
trivial patch to #5690 testing logic
2020-01-18 22:24:51 -08:00
cmoog
3b00c5796a
patches error logic
...
Signed-off-by: cmoog <moogcharlie@gmail.com>
2020-01-18 22:57:05 -06:00
Sugu Sougoumarane
7fe28224f7
Merge pull request #5670 from princeparmar/prepared-statement
...
prepared statement testcases
2020-01-18 20:25:08 -08:00
Sugu Sougoumarane
c4e06a1e62
Merge pull request #5681 from kalfonso/kalfonso.200109-datadog-tracing-plugin
...
Add datadog plugin for tracing
2020-01-18 20:20:45 -08:00
Sugu Sougoumarane
824f83540d
Merge pull request #5690 from cmoog/pos_parse_err
...
Adds context to sqlparser errors
2020-01-18 20:13:40 -08:00
Sugu Sougoumarane
afcc4629f7
vstream: require explicit 'current' position
...
In the future, we want to allow an empty position to mean:
"copy existing data also", just like in the case of VReplication.
So, for starting from current position, the VStream request
must specify the Gtid as "current".
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-18 19:19:17 -08:00
Sugu Sougoumarane
7506c2bacf
vstream: more refactor to prep for journals
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-18 17:33:24 -08:00
Sugu Sougoumarane
751254e70b
vstream: move functionality to vstreamManager
...
We need more elaborate data structures for handling journal events.
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-18 17:33:24 -08:00
Sugu Sougoumarane
7cb55d1ca1
vstream: fill defaults for inputs
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-18 17:33:24 -08:00
Sugu Sougoumarane
a016bab19f
vstream: support special "current" position
...
Make vstreamer start from current position if the requested
position is "current". This will be supported by VStream.
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-18 17:33:24 -08:00
Sugu Sougoumarane
405ae09eda
Merge pull request #5716 from planetscale/ss-externalize
...
vrepl: ExternalizeVindex
2020-01-18 17:30:16 -08:00
Jacques Grove
fdc3c6e738
Address #5734 by forming MySQL error packet on query parse error during
...
COM_PREPARE
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
2020-01-17 17:08:33 -08:00
pradip parmar
5c05f6e2dd
prepare_statement: dummy commit.
...
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
2020-01-17 18:33:56 +05:30
pradip parmar
bdf463df81
prepared_statement: unwanted dependency removed.
...
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
2020-01-17 15:42:18 +05:30
pradip parmar
8674768730
prepared_statement: comments changes as per idiomatic go, removed elses.
...
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
2020-01-17 15:21:10 +05:30
prince
0ac67abc27
Merge branch 'master' into prepared-statement
2020-01-17 13:02:48 +05:30
Deepthi Sigireddi
1d60870e83
Merge pull request #5684 from planetscale/tal_sharded_recovery_test
...
Sharded recovery test migrated in go
2020-01-16 17:08:13 -08:00
prince
4e46a60908
mysql server testcase. ( #5671 )
...
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
2020-01-16 17:04:40 -08:00
Siva Kommuri
180f7ae336
Add LD_PRELOAD env var when starting mysql related scripts
...
* Build the LD_LIBRARY_PATH environment variable in a
new function
* Inherit LD_PRELOAD as an environment variable for all
mysql* commands
Signed-off-by: Siva Kommuri <snv.kommuri@gmail.com>
2020-01-16 16:18:19 -08:00
Siva Kommuri
805b94068d
Fix git signoff pre-commit hook
...
The confirmation for the signoff prompt wasn't being processed.
Signed-off-by: Siva Kommuri <snv.kommuri@gmail.com>
2020-01-16 16:18:09 -08:00
saurabh
b7eb2e821c
modifying recovery tests package and addressed review comments
...
Signed-off-by: saurabh <saurabh.408@gmail.com>
2020-01-16 18:12:47 +05:30
saurabh
ed627b609d
merge from vitessio master into tal_sharded_recovery_test
...
Signed-off-by: saurabh <saurabh.408@gmail.com>
2020-01-16 15:46:19 +05:30
saurabh
d526efdcf7
added python commented out testcases
...
Signed-off-by: saurabh <saurabh.408@gmail.com>
2020-01-16 15:40:45 +05:30
pradip parmar
3ab33f668c
prepare statment test case.
...
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
2020-01-16 12:50:31 +05:30
Morgan Tocker
ad885722e9
Merge pull request #5719 from planetscale/gedgar-make-kvtctld-executable
...
examples/helm/kvtctld.sh: chmod +x
2020-01-15 20:12:32 -07:00
Gary Edgar
9ed762354a
examples/helm/kvtctld.sh: chmod +x
...
Signed-off-by: Gary Edgar <gary@planetscale.com>
2020-01-15 17:10:54 -08:00
Andres Taylor
2152b55aa7
Merge pull request #5718 from planetscale/rh-support-distinctrow
...
Support DISTINCTROW as a synonym for DISTINCT
2020-01-15 15:58:02 -08:00
Roni He
af39181691
added distictrow
...
Signed-off-by: Roni He <herongrong2011@gmail.com>
2020-01-15 13:41:59 -08:00
Morgan Tocker
89e396d3c0
Change from warning to fatal
...
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-01-15 11:44:39 -07:00
Sugu Sougoumarane
cabe3144b7
Merge pull request #5659 from planetscale/sa-fix-5553
...
Enforce rollback for each connection when shutdown occurs
2020-01-15 10:31:15 -08:00
Morgan Tocker
b322579c9e
Restore support for mysqlctl_mycnf_template
...
Regression of #5654
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-01-15 11:11:45 -07:00
Morgan Tocker
5165f851ec
Merge pull request #5711 from planetscale/morgo-fix-rice-box
...
Fix rice-box not found problem
2020-01-15 08:47:35 -07:00
Sugu Sougoumarane
da933af72e
vrepl: ExternalizeVindex vtctl command
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-15 00:08:32 -08:00
Sugu Sougoumarane
8b0467cad2
vrepl: ExternalizeVindex
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-15 00:08:32 -08:00
Sugu Sougoumarane
913147f47f
vtgate: tweak rollback test for faster run
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-14 23:46:02 -08:00
Sugu Sougoumarane
74914ea01f
vtgate: alternate approach for shutdown
...
The previous approach we tried led to some race conditions.
This new approach of just hard-closing the connection and
then wait for the cleanup to happen from that effect feels
more stable.
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-14 22:51:08 -08:00
Deepthi Sigireddi
a926cc443a
Merge pull request #5715 from planetscale/ss-materialize-bug
...
vrepl: fix materializer bug
2020-01-14 21:26:07 -08:00
Sugu Sougoumarane
4d2b9e630b
vrepl: fix materializer bug
...
The keyrange was getting quoted twice. @rohit-nayak-ps and I
discovered this while running some manual tests. This can
be best tested with end to end tests, which are coming soon.
This is why the unit tests are not affected by this change.
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-14 18:48:26 -08:00
Sugu Sougoumarane
1e10d2e921
Merge pull request #5692 from planetscale/ss-create-lookup
...
vrepl: CreateLookupVindex command with backfill
2020-01-14 18:29:11 -08:00
Morgan Tocker
6781ff4ef0
Remove rebuilding embedded config from build
...
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-01-14 19:08:37 -07:00
Sugu Sougoumarane
727f307b0e
vrepl: address review comments
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-14 18:02:00 -08:00
Sugu Sougoumarane
d3851f31d7
vrepl: CreateLookupVindex vtctl command
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-01-14 17:58:47 -08:00