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

Remove the Gateway interface #9852

Merged
merged 12 commits into from
Mar 31, 2022

Conversation

frouioui
Copy link
Member

@frouioui frouioui commented Mar 9, 2022

Description

In #9500 we removed the legacy gateway (DiscoveryGateway), leaving TabletGateway as the only implementation of the vtgate/Gateway interface. The interface is now useless, this pull request removes it, along with the -gateway_implementation flag that was previously used to decide which implementation of the gateway we wanted to use.

This pull request is rebased on top of #9500, do not merge until #9500 is merged. Commits d0941b1cd14397dd5df4ea323f208bd58e154cbf and 60470e7df9e3537af1e7c58ceaaf2a8a1442e710 are the last commits to look at.

Related Issue(s)

Checklist

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

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
@frouioui frouioui force-pushed the remove-gateway-interface branch from 60470e7 to 3f53772 Compare March 10, 2022 14:54
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
@frouioui frouioui force-pushed the remove-gateway-interface branch from 5cbc3d1 to 2a31fad Compare March 22, 2022 10:06
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
…rface

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
@frouioui frouioui marked this pull request as ready for review March 22, 2022 11:07
@frouioui frouioui requested a review from deepthi March 22, 2022 11:07
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
doc/TabletRouting.md Outdated Show resolved Hide resolved
doc/TabletRouting.md Outdated Show resolved Hide resolved
doc/TabletRouting.md Outdated Show resolved Hide resolved
go/test/endtoend/cellalias/cell_alias_test.go Show resolved Hide resolved
go/vt/vtgate/tabletgateway.go Outdated Show resolved Hide resolved
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
@frouioui frouioui requested a review from deepthi March 28, 2022 14:40
Signed-off-by: Andres Taylor <andres@planetscale.com>
@frouioui frouioui merged commit 5712981 into vitessio:main Mar 31, 2022
@frouioui frouioui deleted the remove-gateway-interface branch March 31, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants