Skip to content

Change tracker to use allprivs instead of dba#6720

Merged
deepthi merged 1 commit intovitessio:masterfrom
planetscale:rn-vrep-allprivs
Sep 16, 2020
Merged

Change tracker to use allprivs instead of dba#6720
deepthi merged 1 commit intovitessio:masterfrom
planetscale:rn-vrep-allprivs

Conversation

@rohit-nayak-ps
Copy link
Copy Markdown
Member

@rohit-nayak-ps rohit-nayak-ps commented Sep 14, 2020

This PR just changes the db user to allprivs instead of dba to prevent inadvertent writes into schema_version when a tablet transitions from master to replica.

We have a separate issue where reparent tests are failing with tracker on. But on further investigation it looks like that those tests are not setting up and tearing down the cluster correctly leading to tablets resuming from their earlier state and binlogs being thus in unexpected states. That is being fixed in #6726 and if any related tracker bugs are found we will fix them as part of that issue.

Signed-off-by: Rohit Nayak rohit@planetscale.com

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps marked this pull request as ready for review September 16, 2020 07:39
Copy link
Copy Markdown
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

LGTM

@deepthi deepthi merged commit 0c22d7c into vitessio:master Sep 16, 2020
@deepthi deepthi deleted the rn-vrep-allprivs branch September 16, 2020 18:31
@askdba askdba added this to the v8.0 milestone Oct 6, 2020
@rohit-nayak-ps rohit-nayak-ps linked an issue Oct 6, 2020 that may be closed by this pull request
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.

schema tracker's dba privilege causes stray GTIDs

3 participants