Skip to content

[10.0] Fix for keyspaces_to_watch regression#7936

Merged
askdba merged 5 commits intovitessio:release-10.0from
planetscale:ds-backport-7873
Apr 23, 2021
Merged

[10.0] Fix for keyspaces_to_watch regression#7936
askdba merged 5 commits intovitessio:release-10.0from
planetscale:ds-backport-7873

Conversation

@deepthi
Copy link
Collaborator

@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

Richard Bailey 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>
@deepthi deepthi requested a review from askdba April 22, 2021 19:56
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.

2 participants