Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oops #15542

Closed
wants to merge 236 commits into from
Closed

oops #15542

wants to merge 236 commits into from

Conversation

hmaurer
Copy link

@hmaurer hmaurer commented Mar 21, 2024

No description provided.

GuptaManan100 and others added 30 commits February 3, 2023 21:57
…o#12273)

* Revert default MySQL 80 version



* upgrade mysql80 default to 8.0.30



* Add release notes regarding MySQL upgrade path in the vitess-operator



* Remove unwanted upgrade path step



---------

Signed-off-by: Florent Poinsard <[email protected]>
* Release notes for 16.0.0-rc1

Signed-off-by: Manan Gupta <[email protected]>

* Release commit for 16.0.0-rc1

Signed-off-by: Manan Gupta <[email protected]>

---------

Signed-off-by: Manan Gupta <[email protected]>
* Download mariadb from vitess-resources



* Use proper mariadb version increment in tests



* Use 10.10.3 instead of LTS



---------

Signed-off-by: Florent Poinsard <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Co-authored-by: Manan Gupta <[email protected]>
…sio#12311)

* fix: aggregation coming from right hand side of left join check for null

Signed-off-by: Harshit Gangal <[email protected]>

* test: added a sum test

Signed-off-by: Harshit Gangal <[email protected]>

* addressed review comments

Signed-off-by: Harshit Gangal <[email protected]>

---------

Signed-off-by: Harshit Gangal <[email protected]>
Co-authored-by: Harshit Gangal <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Co-authored-by: Harshit Gangal <[email protected]>
…vitessio#12278)

* Add lib functions to wait for shard states



* Fixup region example too



* Address minor review comments



* Remove extraneous line change



* Refactor to remove duplicated files/code

Also address shellcheck warnings.



* Fix tests that run in CI



* Use more robust location detection



* Fix backup tests



* Exit on shard healthy failure



* Remove unused dups and adjust client_test and Dockerfiles



---------

Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Co-authored-by: Andres Taylor <[email protected]>
* feat: proto changes to add new rpc

Signed-off-by: Harshit Gangal <[email protected]>

* feat: vttablet changes in queryservice to implement the new rpc

Signed-off-by: Harshit Gangal <[email protected]>

* added test on tabletserver

Signed-off-by: Harshit Gangal <[email protected]>

* feat: use the new schema rpc in vtgate to get updated view definition

Signed-off-by: Harshit Gangal <[email protected]>

* remove error from getschemaresponse and change the enum name

Signed-off-by: Harshit Gangal <[email protected]>

* updated proto files for vtadmin

Signed-off-by: Harshit Gangal <[email protected]>

* fix e2e test

Signed-off-by: Harshit Gangal <[email protected]>

---------

Signed-off-by: Harshit Gangal <[email protected]>
…essio#12320) (vitessio#12362)

* TableFilter: fix excluded RE listing

Signed-off-by: Shlomi Noach <[email protected]>

* extract GCTableNameExpression

Signed-off-by: Shlomi Noach <[email protected]>

* VReplication: exclude GC tables when reading schema

Signed-off-by: Shlomi Noach <[email protected]>

* wrap schema analyzis errors for better tracability

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>
Co-authored-by: Shlomi Noach <[email protected]>
…vitessio#12381)

* Fix SHOW VSCHEMA TABLES tests using v17 vtgate

Signed-off-by: Florent Poinsard <[email protected]>

* Fix tests expectations

Signed-off-by: Florent Poinsard <[email protected]>

---------

Signed-off-by: Florent Poinsard <[email protected]>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](golang/net@v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) (vitessio#12406)

* Allow zero (in) date when setting up internal _vt schema



* modify test sto include @@sql_mod query support



* Allow zero (in) date when setting up internal _vt schema



* modify test sto include @@sql_mod query support



* Fix test failures



* Fix failing tests. Minor refactor



* change sql_mode t omost permissive (empty)



* setPermissiveSQLMode



* fixes per review



* Add missing mock query



---------

Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
Co-authored-by: Shlomi Noach <[email protected]>
Co-authored-by: Rohit Nayak <[email protected]>
* Add release notes summary for support views

Signed-off-by: Florent Poinsard <[email protected]>

* add link to the documentation

Signed-off-by: Florent Poinsard <[email protected]>

* simplify views release notes

Signed-off-by: Florent Poinsard <[email protected]>

---------

Signed-off-by: Florent Poinsard <[email protected]>
…#12415)

* Examples: correct VTAdmin discovery file path and add check

Signed-off-by: Matt Lord <[email protected]>

* Remove jq dependency

Signed-off-by: Matt Lord <[email protected]>

* vtadmin examples scripts hardcode localhost

Signed-off-by: Matt Lord <[email protected]>

* Fix errant expectation

Signed-off-by: Matt Lord <[email protected]>

* Adjust healthy shard indicator

Signed-off-by: Matt Lord <[email protected]>

---------

Signed-off-by: Matt Lord <[email protected]>
This is needed to better support importing from
MariaDB into Vitess/MySQL.

Signed-off-by: Matt Lord <[email protected]>
…vitessio#12421)

* Changed getSchemaRPC to return CreateView instead of SelectStmt

Signed-off-by: Florent Poinsard <[email protected]>

* test: fix expectation

Signed-off-by: Harshit Gangal <[email protected]>

---------

Signed-off-by: Florent Poinsard <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Co-authored-by: Harshit Gangal <[email protected]>
* restrict views to single keyspace

Signed-off-by: Harshit Gangal <[email protected]>

* feat: also create/alter and drop views on MySQL for information-schema-support

Signed-off-by: Manan Gupta <[email protected]>

* feat: do the DMLs for alter and create of view in a transaction so that they can be rolled back in case of MySQL failure

Signed-off-by: Manan Gupta <[email protected]>

* ignore view changes by schema tracker in vttablet when views are enabled

Signed-off-by: Harshit Gangal <[email protected]>

* test: fix test expectation

Signed-off-by: Harshit Gangal <[email protected]>

* Correct syntax error in defer func of E2E test

Signed-off-by: Florent Poinsard <[email protected]>

---------

Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
Co-authored-by: Manan Gupta <[email protected]>
Co-authored-by: Florent Poinsard <[email protected]>
…ssio#12426)

* TableFilter: fix excluded RE listing

Signed-off-by: Shlomi Noach <[email protected]>

* extract GCTableNameExpression

Signed-off-by: Shlomi Noach <[email protected]>

* VReplication: exclude GC tables when reading schema

Signed-off-by: Shlomi Noach <[email protected]>

* wrap schema analyzis errors for better tracability

Signed-off-by: Shlomi Noach <[email protected]>

* resolve conflict

Signed-off-by: Shlomi Noach <[email protected]>

* (re)Formalize SQLError in VReplication, add underlying wrap/unwrap functionality

Signed-off-by: Shlomi Noach <[email protected]>

* update test to match new UnwrapAll() behavior

Signed-off-by: Shlomi Noach <[email protected]>

* do not unwrap

Signed-off-by: Shlomi Noach <[email protected]>

* Online DDL: use LastError for retrying vreplication streams

Signed-off-by: Shlomi Noach <[email protected]>

* differentiate between a temrinally failed workflow and one which 'has error' and can be retried

Signed-off-by: Shlomi Noach <[email protected]>

* wording

Signed-off-by: Shlomi Noach <[email protected]>

* simplified hasError()

Signed-off-by: Shlomi Noach <[email protected]>

* more onlineddl_vrepl tests; use dynamic throttler config; fix wait for vreplication status

Signed-off-by: Shlomi Noach <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>
* examples: should use mysql80 property for vitess image

Signed-off-by: deepthi <[email protected]>

* Use MySQL80 in all examples/operator YAML files

Signed-off-by: Florent Poinsard <[email protected]>

* feat: fix vtadmin image version

Signed-off-by: Manan Gupta <[email protected]>

* feat: update release script to update vtadmin image version too

Signed-off-by: Manan Gupta <[email protected]>

* feat: fix vtop example script to use vtctldclient instead

Signed-off-by: Manan Gupta <[email protected]>

---------

Signed-off-by: deepthi <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
Signed-off-by: Manan Gupta <[email protected]>
Co-authored-by: Florent Poinsard <[email protected]>
Co-authored-by: Manan Gupta <[email protected]>
…es (vitessio#12436)

* schemadiff: AlterTableAlgorithmStratgy

Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>

* minor rename

Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>

* Use COPY algorithm while altering sidecardb tables

Signed-off-by: Rohit Nayak <[email protected]>

---------

Signed-off-by: Shlomi Noach <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
Co-authored-by: Shlomi Noach <[email protected]>
Dependabot does pick up these go.mod files but somehow fails to open PRs
for them to update things that are vulnerable. So doing it manually
here.

Signed-off-by: Dirkjan Bussink <[email protected]>
Co-authored-by: Dirkjan Bussink <[email protected]>
…ssio#12328) (vitessio#12431)

* Don't fail on schema init errors

Signed-off-by: Rohit Nayak <[email protected]>

* Fix debug var attribute name

Signed-off-by: Rohit Nayak <[email protected]>

* Fix typo in debug var

Signed-off-by: Rohit Nayak <[email protected]>

* Address review comment

Signed-off-by: Rohit Nayak <[email protected]>

* Address review comments

Signed-off-by: Rohit Nayak <[email protected]>

---------

Signed-off-by: Rohit Nayak <[email protected]>
Co-authored-by: Rohit Nayak <[email protected]>
vitess-bot bot and others added 8 commits November 22, 2023 00:13
…NF rewrites (vitessio#14560) (vitessio#14574)

Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
Co-authored-by: Florent Poinsard <[email protected]>
…itessio#14586) (vitessio#14590)

Signed-off-by: Harshit Gangal <[email protected]>
Signed-off-by: Dirkjan Bussink <[email protected]>
Co-authored-by: Harshit Gangal <[email protected]>
Co-authored-by: Dirkjan Bussink <[email protected]>
…o release-16.0-github

Signed-off-by: Arthur Schreiber <[email protected]>
[Backport] Expose the `--tablet_types_to_wait` flag in `vtcombo`.
Copy link
Contributor

vitess-bot bot commented Mar 21, 2024

Review Checklist

Hello reviewers! 👋 Please follow this checklist when reviewing this Pull Request.

General

  • Ensure that the Pull Request has a descriptive title.
  • Ensure there is a link to an issue (except for internal cleanup and flaky test fixes), new features should have an RFC that documents use cases and test cases.

Tests

  • Bug fixes should have at least one unit or end-to-end test, enhancement and new features should have a sufficient number of tests.

Documentation

  • Apply the release notes (needs details) label if users need to know about this change.
  • New features should be documented.
  • There should be some code comments as to why things are implemented the way they are.
  • There should be a comment at the top of each new or modified test to explain what the test does.

New flags

  • Is this flag really necessary?
  • Flag names must be clear and intuitive, use dashes (-), and have a clear help text.

If a workflow is added or modified:

  • Each item in Jobs should be named in order to mark it as required.
  • If the workflow needs to be marked as required, the maintainer team must be notified.

Backward compatibility

  • Protobuf changes should be wire-compatible.
  • Changes to _vt tables and RPCs need to be backward compatible.
  • RPC changes should be compatible with vitess-operator
  • If a flag is removed, then it should also be removed from vitess-operator and arewefastyet, if used there.
  • vtctl command output order should be stable and awk-able.

@vitess-bot vitess-bot bot added NeedsBackportReason If backport labels have been applied to a PR, a justification is required NeedsDescriptionUpdate The description is not clear or comprehensive enough, and needs work NeedsIssue A linked issue is missing for this Pull Request NeedsWebsiteDocsUpdate What it says labels Mar 21, 2024
@hmaurer hmaurer closed this Mar 21, 2024
@github-actions github-actions bot added this to the v20.0.0 milestone Mar 21, 2024
@hmaurer hmaurer changed the title hm/backport vtexplain fix oops Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsBackportReason If backport labels have been applied to a PR, a justification is required NeedsDescriptionUpdate The description is not clear or comprehensive enough, and needs work NeedsIssue A linked issue is missing for this Pull Request NeedsWebsiteDocsUpdate What it says
Projects
None yet
Development

Successfully merging this pull request may close these issues.