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

[schematools] Move more functions out of wrangler to package importable by grpcvtctldserver #9123

Merged
merged 4 commits into from
Nov 4, 2021

Conversation

ajm188
Copy link
Contributor

@ajm188 ajm188 commented Oct 30, 2021

Description

This is a preparatory PR to make migrating CopySchemaShard (next on my plate) a smaller overall change. Moves wr.CopySchemaShard and wr.GetSchema to schematools functions, and updates all callsites.

I then proceeded to mangle the diff in the vtworker tests by tidying up the imports. Aside: can we delete the worker code for v13?

Related Issue(s)

#9122

Checklist

  • Should this PR be backported? no
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

Signed-off-by: Andrew Mason <amason@slack-corp.com>
Signed-off-by: Andrew Mason <amason@slack-corp.com>
Signed-off-by: Andrew Mason <amason@slack-corp.com>
Signed-off-by: Andrew Mason <amason@slack-corp.com>
Copy link
Contributor

@doeg doeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks straightforward to me! You'll need to @ someone for an answer to your v13 worker code question. 🔪

@ajm188 ajm188 merged commit 8bda378 into vitessio:main Nov 4, 2021
@ajm188 ajm188 deleted the more-schematools branch November 4, 2021 10:19
GuptaManan100 added a commit to planetscale/vitess-operator that referenced this pull request Apr 5, 2022
…eleted in vitessio/vitess#9123

Signed-off-by: Manan Gupta <manan@planetscale.com>
GuptaManan100 added a commit to planetscale/vitess-operator that referenced this pull request Apr 20, 2022
…eleted in vitessio/vitess#9123

Signed-off-by: Manan Gupta <manan@planetscale.com>
GuptaManan100 added a commit to planetscale/vitess-operator that referenced this pull request Jun 1, 2022
* feat: upgrade vitess version to 13.0

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: update e2e tests to use 13.0.0 and latest images

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: move DeleteKeyspace to use vtctldServer in wrangler - since it was deleted in vitessio/vitess#9015

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: move RemoveShardCelle to use vtctldServer in wrangler - since it was deleted in vitessio/vitess#9015

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: move GetSchema to use vtctldServer in wrangler - since it was deleted in vitessio/vitess#9123

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add double dash to vtctlclient command

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: pass false for the semi-sync parameter not being used in Vites

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: set a duraiblity_policy in the beginning to prevent panics

Signed-off-by: Manan Gupta <manan@planetscale.com>

* docs: add the Vitess PR that uses the durability policy stored in the keyspace information in the code comments

Signed-off-by: Manan Gupta <manan@planetscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants