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

schema tracking: minimize logging of errors when loading keyspace with disabled schema tracking #8989

Merged
merged 3 commits into from
Oct 13, 2021

Conversation

systay
Copy link
Collaborator

@systay systay commented Oct 13, 2021

Description

The schema tracker was trying to reload keyspaces over and over again, and logging errors every time. This PR changes so that when an error is received because the database or table is missing, we stop trying to reload the keyspace until we get an actual "schema changed" signal from the tablet.

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Signed-off-by: Andres Taylor <andres@planetscale.com>
…o such table error from vttablet

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
@harshit-gangal harshit-gangal added Component: Query Serving release notes Type: Enhancement Logical improvement (somewhere between a bug and feature) labels Oct 13, 2021
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
@systay systay marked this pull request as ready for review October 13, 2021 14:40
@harshit-gangal harshit-gangal changed the title minimize logging of errors when loading keyspace schema tracking: minimize logging of errors when loading keyspace with disabled schema tracking Oct 13, 2021
@harshit-gangal harshit-gangal merged commit 4091720 into vitessio:main Oct 13, 2021
@harshit-gangal harshit-gangal deleted the quiest-schema-tracking branch October 13, 2021 14:58
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