Ajeet jain
2580188959
fixed test.go framework for go cluster tests
...
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2020-02-07 13:35:03 +05:30
Ajeet jain
8f1f4c6ce1
updated config.json to use dummy file name
...
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2020-02-07 12:21:43 +05:30
prince
04471b29b0
migrating mysqlctld python testcases to go ( #5774 )
...
* initial commit for backup_only
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* changes in package structure
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updating package name and fixing a test
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* removed unrequired teardown code
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Removed debug code
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* inital commit for xtrabackup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fix sequencing of cleanup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fix terminate restore for xtrabackup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updated config for xtrabackup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* backup-mysqlctld: mysqlctld setup module created.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* added xtrabackup stream mode
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updated config for xtrabackup stream
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* minor changes to config
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* initial commit for backup_only
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* changes in package structure
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updating package name and fixing a test
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* removed unrequired teardown code
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Removed debug code
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* inital commit for xtrabackup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fix sequencing of cleanup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fix terminate restore for xtrabackup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updated config for xtrabackup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* added xtrabackup stream mode
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updated config for xtrabackup stream
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* minor changes to config
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* rebased to resolve conflict
Signed-off-by: Arindam Nayak <arindam.nayak@outlook.com>
* backup-mysqlctld: mysqlctld health check changes.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* backup_mysqlctld: mysqlctld teardown fixes. vttablet restart method created.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* backup-mysqlctld: mysqlctld restart fixed, backup utils refactor.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* backup_transform_mysqlctld: backup_transform testing using mysqlctld.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* Added percona 56 new dependency
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Putting the dependency at right place
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updated apt tp apt-get
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* corrected the typo
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fixed a comma in config.json
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* review changes.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* test added in config.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* package name changed.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* mysql_ctld: file name change.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* mysqlctld: review changes,
code refactor, removed some functions.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* backup_transform: refator.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* backup_mysqlctld: config changes.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* restore vtBackup test
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* redistribute travis tests
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updated shard matrix for transform test
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* mysqlctld: mysqlctld teardown issue resolved.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* mysqlctld: mysqlctld teardown issue resolved.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* mysql-ctld: process teardown changes.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* review changes and newConnection method modified.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
* mysqlctld: process hang issue resolved.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
Co-authored-by: Ajeet Jain <ajeet.jain@gmail.com>
Co-authored-by: Arindam Nayak <arindamnayak@users.noreply.github.com>
Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
2020-02-06 16:55:27 -08:00
Deepthi Sigireddi
ebe6d45a9f
Merge pull request #5790 from planetscale/tal_merge_sharding
...
Merge Sharding tests in Go migrated from Python
2020-02-06 14:34:31 -08:00
Saif Al-Harthi
c0c927a0a9
Support SHOW CREATE TABLE with qualifier ( #5585 )
...
* Support SHOW CREATE TABLE with qualifer
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
2020-02-06 22:30:09 +01:00
Deepthi Sigireddi
261d49852e
Merge pull request #5793 from planetscale/systay-fix-database
...
only rewrite database() against dual
2020-02-06 09:31:18 -08:00
deepthi
ad277d9c75
remove ToLower from expected value, since the test uses camel case for db name
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-02-06 09:10:12 -08:00
deepthi
cd0585f017
Merge branch 'systay-fix-database' of github.com:planetscale/vitess into systay-fix-database
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-02-06 09:02:00 -08:00
Roni HE
a2dd7a0b38
Fix: Vitess show character set where
...
right now the show character set are hardcoded to be filtered with where statement.
since we don't really want to expand the results or forward the query to an underlying mysql because vitess only supports these 2 charsets.
closes #5584
* separate show charset vs show charset in parser
* changed the executor accordingly
* use where_expression_opt in parser, changed AST and executor accordingly
Signed-off-by: roni <herongrong2011@gmail.com>
2020-02-06 17:14:51 +01:00
Andres Taylor
6d8e8674de
Added end-to-end test for database() call
...
Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-02-06 11:23:10 +01:00
deepthi
f245c5a638
fix failing plan_test, add more rewriting tests for database()
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-02-06 07:03:03 +01:00
Andres Taylor
b2f1b35366
Only rewrite database() against dual
...
Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-02-06 07:02:49 +01:00
Ajeet jain
85410f1115
minor changes to comment to avoid override by go fmt
...
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2020-02-06 11:19:27 +05:30
Ajeet jain
a5e363b58b
address review comments
...
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2020-02-06 10:50:03 +05:30
deepthi
6151d4ca38
fix failing plan_test, add more rewriting tests for database()
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-02-05 17:16:47 -08:00
deepthi
3cb2f6c2e6
Merge branch 'fix-database' of https://github.com/systay/vitess into systay-fix-database
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-02-05 17:03:40 -08:00
Sugu Sougoumarane
f64be2dc33
Merge pull request #5746 from planetscale/ss-vstream-journal
...
vstream: handle journal events
2020-02-05 11:20:15 -08:00
Ajeet jain
e1b4096c1d
minor text changes to retrigger the travis
...
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2020-02-05 21:59:19 +05:30
Ajeet jain
4b4982953e
merge sharding completed in go
...
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2020-02-05 16:40:27 +05:30
Sugu Sougoumarane
59c96e4144
vstream: address review comments
...
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-02-05 00:10:54 -08:00
Sugu Sougoumarane
220b4c5bf7
Merge pull request #5788 from MordFustang21/master
...
vitessdriver: convert sqltypes.Timestamp to time.Time values
2020-02-04 23:46:57 -08:00
Ajeet jain
af5e293a88
first commit for merge sharding
...
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2020-02-05 11:52:47 +05:30
Derrick Laird
1398e7c054
vitessdriver: convert sqltypes.Timestamp to time.Time values
...
When trying to do a scan into a time.Time type it will fail with error
unsupported Scan, storing driver.Value type []uint8 into type *time.Time
This should remedy this behavior and allow scans into time.Time.
Signed-off-by: Derrick Laird <swampdonk@gmail.com>
2020-02-04 18:37:01 -07:00
Andres Taylor
0995d2a4f8
Only rewrite database() against dual
...
Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-02-04 20:01:35 +01:00
Morgan Tocker
157f952ab0
Merge pull request #5786 from planetscale/ds-makefile-tests
...
Fix test and unit_test targets
2020-02-04 08:50:58 -08:00
deepthi
8b8014059d
resurrect unit_test target, change test target back to running integration tests
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-02-03 19:47:54 -08:00
Sugu Sougoumarane
6a71f2418a
Merge pull request #5770 from systay/rewriter
...
Visitor generator cleanup
2020-02-02 21:49:02 -08:00
Sugu Sougoumarane
9c98edc4b9
Merge pull request #5775 from planetscale/jacques_5725
...
Do the minimum to fix issue #5725 ; adds handling
2020-02-02 21:45:42 -08:00
Sugu Sougoumarane
0cfb50b039
Merge pull request #5782 from planetscale/morgo-add-golang-fmt-check
...
Add a go fmt check
2020-02-02 21:43:01 -08:00
Sugu Sougoumarane
b7af64827f
Merge pull request #5785 from planetscale/ds-edit-maintainers
...
correct email address
2020-02-02 21:40:18 -08:00
Deepthi Sigireddi
24b0833958
Merge pull request #5784 from planetscale/ds-rm-pylint
...
remove non-functional pylint hook
2020-02-01 14:10:33 -08:00
deepthi
5ca63b3517
correct email address
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-02-01 08:34:40 -08:00
deepthi
5ec624efc3
remove non-functional pylint hook
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-02-01 08:30:55 -08:00
Morgan Tocker
ed88f2808c
Add a go fmt check
...
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-02-01 09:12:35 -07:00
Morgan Tocker
c21371a036
Merge pull request #5748 from planetscale/ds-delete-deprecated-flags
...
delete deprecated flags
2020-02-01 11:40:50 +01:00
Deepthi Sigireddi
3496408a56
Merge pull request #5778 from planetscale/ds-rm-vtctld
...
remove reference to web/vtctld from Makefile
2020-01-31 11:04:18 -08:00
Deepthi Sigireddi
05b559ddc8
Merge pull request #5777 from planetscale/ds-upgrade-aws-sdk
...
upgrade aws-sdk-go to 1.28.8
2020-01-31 11:03:57 -08:00
Deepthi Sigireddi
1ce4d867b5
Merge pull request #5779 from longkb/fix_some_typos_in_comments
...
Fix some typos in comments
2020-01-30 20:20:15 -08:00
Kim Bao Long
06570584ff
Fix some typos in comments
...
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
2020-01-31 08:54:02 +07:00
deepthi
06330512fa
remove reference to web/vtctld from Makefile
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-01-30 17:24:04 -08:00
deepthi
58d4813f24
upgrade aws-sdk-go to 1.28.8
...
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-01-30 14:17:08 -08:00
Jacques Grove
e3ed6c0c25
Do the minimum to fix issue #5725 ; adds handling
...
for privilege statements (GRANT/REVOKE) in the
vstreamer; but does not add any handling for vtgate.
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
2020-01-30 13:40:05 -08:00
Ajeet Jain
041757feaa
Xtrabackup endtoend test cases in GO migrated from Python ( #5743 )
...
* initial commit for backup_only
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* changes in package structure
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updating package name and fixing a test
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* removed unrequired teardown code
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Removed debug code
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* inital commit for xtrabackup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fix sequencing of cleanup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fix terminate restore for xtrabackup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updated config for xtrabackup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* added xtrabackup stream mode
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updated config for xtrabackup stream
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* minor changes to config
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Added percona 56 new dependency
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Putting the dependency at right place
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updated apt tp apt-get
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* corrected the typo
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fixed a comma in config.json
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2020-01-29 10:19:46 -08:00
Ajeet Jain
a5771825cf
Backup using vtbackup endtoend test cases in Go migrated from Python ( #5693 )
...
* initial commit for backup_only
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* changes in package structure
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* updating package name and fixing a test
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* removed unrequired teardown code
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Removed debug code
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Reset replication on mysql _before_ deleting vttablet from topo
Signed-off-by: deepthi <deepthi@planetscale.com>
Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
2020-01-28 17:14:14 -08:00
Ajeet Jain
0be40e7ca7
Added Consul and Zk2 topo support in Go Cluster endtoend tests ( #5738 )
...
* first commit to use zk in tests
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Fixed zookeeper and added consul
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* added consul setup
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* added consul and zk2 tabletmanager tests in config
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Minor edits
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fixing verticalsplit test
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Moving tabletmanager test to shard 18
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* fixed reparent test
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* Removing unrequired changes
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
* review comments addressed
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
2020-01-28 17:04:05 -08:00
Andres Taylor
5f87bd88db
Merge pull request #5766 from jmhodges/sync
...
correct gofmt of vtctld and re-sync go.mod
2020-01-28 18:47:08 +01:00
Andres Taylor
2e66f6f0dd
Add check that the visitor has been updated to the CI build
...
Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-01-27 19:54:33 +01:00
Deepthi Sigireddi
123dab2a98
Merge pull request #5753 from planetscale/ss-vrepl-panic
...
Fix vreplication panic
2020-01-27 10:52:19 -08:00
Andres Taylor
86a3ce61ff
Moved visitorgen to be next to the AST
...
Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-01-27 11:25:39 +01:00
Andres Taylor
e581793d46
Clean up Makefile and pre-commit check
...
Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-01-27 11:16:37 +01:00