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

[10.0] Fix for keyspaces_to_watch regression #7936

Merged
merged 5 commits into from
Apr 23, 2021

Conversation

deepthi
Copy link
Member

@deepthi deepthi commented Apr 22, 2021

Description

Cherry-pick from #7873

Related Issue(s)

#7882

Checklist

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

Deployment Notes

Impacted Areas in Vitess

Components that this PR will affect:

  • Query Serving
  • VReplication
  • Cluster Management
  • Build/CI
  • VTAdmin

setassociative and others added 5 commits April 22, 2021 12:50
This checks if a vtgate is currently filtering keyspaces before requesting the TopoServer. This is necessary because a TopoServer can't be accessed in those cases as the filtered Topo in those cases could make it unsafe to make writes since all reads would be returning a subset of the actual topo data.

The only use of the requested topoServer that I found was in the DDL handling path and was introduced in vitessio#6547.

This is deployed on dev but should get testing (endtoend or unit, unclear on best path atm) before going upstream.
# Conflicts:
#	go/vt/vtgate/vcursor_impl.go

Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
edit made in the GH web ui soooo, let's see if this doesn't break things

Signed-off-by: Richard Bailey <rbailey@slack-corp.com>
Evidently I program in the web ui now

Signed-off-by: Richard <rbailey@slack-corp.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
Copy link
Contributor

@askdba askdba left a comment

Choose a reason for hiding this comment

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

LGTM

@askdba askdba merged commit 2ad770e into vitessio:release-10.0 Apr 23, 2021
@askdba askdba deleted the ds-backport-7873 branch April 23, 2021 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants