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

27483 Коммитов

Автор SHA1 Сообщение Дата
Andrew Mason 9f75374ff0 Update local example scripts to use newer `vtctl` commands
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-27 18:17:29 -04:00
Andrew Mason fa2a55e68d Better backwards compat/migration support
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-27 18:17:22 -04:00
Andrew Mason 64a1a65512 [vtctl] Add support for using the new vtctldclient command structure in old vtctl
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-27 08:52:17 -04:00
Andrew Mason 7a20e5e58c Make vtctldclient command structures importable
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-27 08:52:17 -04:00
Andrew Mason 73d91f388c
Merge pull request #8882 from tinyspeck/am_localvtctldclient
[vtctld] localvtctldclient
2021-09-27 06:24:25 -04:00
Manan Gupta 9d61b7924b
Merge pull request #8877 from planetscale/improve-release-notes
Enhancement of the release notes generation
2021-09-27 10:44:59 +05:30
Andrew Mason 84aad0d0a6
Merge pull request #8824 from planetscale/RestoreFromTimestamp
Add Support for Restoring Specific Backups
2021-09-26 07:01:36 -04:00
Andres Taylor bd996ec1ff
Merge pull request #8878 from planetscale/sql-calc-found-rows
Gen4: SQL_CALC_FOUND_ROWS support
2021-09-25 15:56:17 +02:00
Matt Lord f9c6938cee
Be more precise and use time.Time instead of string
Signed-off-by: Matt Lord <mattalord@gmail.com>
2021-09-25 01:47:40 -04:00
Andrew Mason 4e5836e8a9 Rerun `make vtctldclient` generators
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 18:12:40 -04:00
Andrew Mason 2be630b7ab [vtctldclient] Adapt generator to support local client, add local client
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 17:08:13 -04:00
Andrew Mason 88053fcbfa [vtctldclient] Restructure code organization for doing codegen on a local client
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 17:08:13 -04:00
Deepthi Sigireddi 1e12b5b46f
Merge pull request #8849 from tinyspeck/am_migrate_validators
[vtctld] migrate validator rpcs
2021-09-24 14:05:37 -07:00
Deepthi Sigireddi b9664922be
Merge pull request #8873 from tinyspeck/fix-for-padding
Fix for padding in OrderAndCheckPartitions
2021-09-24 13:57:18 -07:00
Andres Taylor e7f3fea529
Merge pull request #8858 from planetscale/gen4-slow-mode-planner
Gen4: VTGate's end-to-end tests to use `gen4`
2021-09-24 16:04:42 +02:00
Andres Taylor 51553e3ff0 minor cleanups
Signed-off-by: Andres Taylor <andres@planetscale.com>
2021-09-24 15:16:34 +02:00
Andres Taylor 8f61299529 add support for sql_calc_found_rows to gen4
Signed-off-by: Andres Taylor <andres@planetscale.com>
2021-09-24 14:57:30 +02:00
Florent Poinsard 237baa3602
Changed buffering tests so they use the default planner
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-24 14:46:44 +02:00
Florent Poinsard 6e126fa6d2
Merge remote-tracking branch 'upstream/main' into gen4-slow-mode-planner
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-24 14:42:05 +02:00
Florent Poinsard ed27f0541a
Addition of the new parameters in the Makefile
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-24 14:15:09 +02:00
Andres Taylor 90ef6d44e9 fail the right kind of SQL_CALC_FOUND_ROWS
Signed-off-by: Andres Taylor <andres@planetscale.com>
2021-09-24 14:00:46 +02:00
Andres Taylor bfe3a2f171 extract SQL_CALC_FOUND_ROWS handling into a shape that can be used by both planners
Signed-off-by: Andres Taylor <andres@planetscale.com>
2021-09-24 13:40:39 +02:00
Andrew Mason 4befb1a347 Apply `*topo.RemoteOperationTimeout` to all remote ops during validation
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 06:53:50 -04:00
Andrew Mason 0362acc7d8 Add cli entrypoints
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 06:53:50 -04:00
Andrew Mason 25fe40ab1f Update tmclient mock and add tests
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 06:53:50 -04:00
Andrew Mason b9ac839039 Remove legacy impl, replacing with adapted version of new impl
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 06:53:50 -04:00
Andrew Mason 055864b1bc Add validator implementations
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 06:53:50 -04:00
Andrew Mason b94b1166ea Add rpcs, run generators and add stubs
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 06:53:48 -04:00
Andrew Mason 41354f07f9 Fix typo in unrelated comment
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 06:51:25 -04:00
Andrew Mason 76db205e66 Move `NormalizeIP` to netutil
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-24 06:51:25 -04:00
Florent Poinsard 11f0efa039
Addition of more unit tests for releaseNotes generation
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-24 12:20:48 +02:00
Florent Poinsard d8e8f792e1
Filter out pull requests based on labels for release notes and add a new sections for biger PRs
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-24 12:03:22 +02:00
Florent Poinsard 5039a104b4
Integrated better support for known issues in release notes
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-24 11:35:57 +02:00
Florent Poinsard f7a1c72537
Small refactor of the release notes with more flexible generation
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-24 10:41:05 +02:00
Florent Poinsard 816e1fd3e5
Addition of load release summary function
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-24 09:52:27 +02:00
Harshit Gangal a938f67f30
Merge pull request #8875 from planetscale/gen4-nextval
added checks for next val misplaced statements and validate the table is sequence table
2021-09-24 12:57:05 +05:30
Florent Poinsard c54ad653c9
Added more test to use default planner
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-24 08:33:38 +02:00
Harshit Gangal c6e4fa42a2 added checks for next val misplaced statements and validate the table is sequence table
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
2021-09-24 11:26:21 +05:30
Andres Taylor 08a8201fde Merge branch main into gen4-slow-mode-planner
Signed-off-by: Andres Taylor <andres@planetscale.com>
2021-09-24 07:44:55 +02:00
Andres Taylor 2822975602
Merge pull request #8870 from planetscale/union-rewrite
gen4: Union rewrite
2021-09-24 07:34:24 +02:00
Andrew Mason f0d35fa11d
Merge pull request #8843 from tinyspeck/am_migrate_more_util_rpcs 2021-09-23 21:28:04 -04:00
Deepthi Sigireddi 7175f656d6
Merge pull request #8868 from planetscale/RemoveDeprecatedHelmCode
Remove the deprecated Helm charts and related code
2021-09-23 16:52:32 -07:00
Andrew Mason bc22ac063c Update more docs to refer to `Reshard`/`MoveTables`
Signed-off-by: Andrew Mason <amason@slack-corp.com>
2021-09-23 18:46:42 -04:00
Deepthi Sigireddi 8e04a16681
Merge pull request #8840 from sonne5/ywu/vtgr
Improve deterministic of bootstrap
2021-09-23 13:41:42 -07:00
Florent Poinsard 5eea07cb2a
Added more test to use only Gen4 planner
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
2021-09-23 21:36:28 +02:00
Rafael Chacon 157961161d Fix typo in tests, also rename method to be more consistent with the package
naming conventions

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
2021-09-23 11:49:20 -07:00
Matt Lord a7a951beee
Correct time format in help output
mm == minutes (two digits)
MM == month (two digits)

Signed-off-by: Matt Lord <mattalord@gmail.com>
2021-09-23 14:41:50 -04:00
Rafael Chacon 476ba905a3 Address code review
* Better description for the documentation.
* For completeness, compare nil ranges in a similar a way as in the other functions

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
2021-09-23 10:39:21 -07:00
Rafael Chacon b06292ffe0 Fix to make sure all keyrange comparisons go through the key.Package
* We ran into some issues related to padding. This is another form of the bug
fixed in here: https://github.com/vitessio/vitess/pull/8296

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
2021-09-23 09:35:19 -07:00
Matt Lord 80d1f41bdb
Address review comments
Signed-off-by: Matt Lord <mattalord@gmail.com>
2021-09-23 12:07:35 -04:00