Skip to content

[vtadmin] GetSchema(s) should always check keyspace field when filtering tablets#7773

Merged
ajm188 merged 1 commit intovitessio:masterfrom
tinyspeck:am_vtadmin_getschemas_tabletfilter
Apr 1, 2021
Merged

[vtadmin] GetSchema(s) should always check keyspace field when filtering tablets#7773
ajm188 merged 1 commit intovitessio:masterfrom
tinyspeck:am_vtadmin_getschemas_tabletfilter

Conversation

@ajm188
Copy link
Contributor

@ajm188 ajm188 commented Apr 1, 2021

Signed-off-by: Andrew Mason amason@slack-corp.com

Description

This fixes a bug in the size aggregation code where, I removed what I thought was a redundant check on tablet.Tablet.Keyspace, we could end up picking a tablet in ks1/-80 when we were looking for ks2/-80 (because we only compared the shard name).

I also removed a reference to a non-existent variable in a log line while I was here.

Related Issue(s)

Checklist

  • Should this PR be backported? no
  • 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

…ing tablets

Signed-off-by: Andrew Mason <amason@slack-corp.com>
@ajm188 ajm188 requested review from doeg and rafael April 1, 2021 02:44
@ajm188 ajm188 requested a review from rohit-nayak-ps as a code owner April 1, 2021 02:44
@ajm188 ajm188 merged commit 6104508 into vitessio:master Apr 1, 2021
@ajm188 ajm188 deleted the am_vtadmin_getschemas_tabletfilter branch April 1, 2021 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants