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

Fix problematic ERS cases #8422

Merged
merged 5 commits into from
Jul 7, 2021
Merged

Conversation

aquarapid
Copy link
Contributor

Already approved as #8319 ; redone to clean up the commit list which was polluted with hundreds of merge commits.

Description

Checklist

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

Copy link
Member

@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.

I'm assuming all the logging is intentional. I don't have a problem with it, it should help with analysis when things go wrong.
LGTM overall.
How do you feel about squashing the commits together?

@deepthi
Copy link
Member

deepthi commented Jul 6, 2021

I forgot this while reviewing..
Ideally we should fix this on the earliest branch where we think it should be fixed. I think in this case that is release-8.0
@systay does that sound right? I think the PR needs to be re-done against release-8.0, correct?

aquarapid added 5 commits July 7, 2021 07:27
just a GTID UUID/SID without an offset/interval.

Signed-off-by: Jacques Grove <[email protected]>
automatically in some cases (e.g. ERS);  however, we were not resetting
this sentinel flag in at least two cases:  1) When we have re-parented
successfully (setMasterLocked) and 2) When we have successfully
promoted a replica (PromoteReplica)

Signed-off-by: Jacques Grove <[email protected]>
will make it easier to debug from log output.

Signed-off-by: Jacques Grove <[email protected]>
@aquarapid aquarapid requested a review from rohit-nayak-ps as a code owner July 7, 2021 05:33
@systay systay changed the base branch from main to release-8.0 July 7, 2021 05:33
@systay systay requested a review from sougou as a code owner July 7, 2021 05:33
@deepthi deepthi merged commit ea9c632 into vitessio:release-8.0 Jul 7, 2021
@deepthi deepthi deleted the jg_gtidset branch July 7, 2021 17:02
deepthi added a commit that referenced this pull request Aug 31, 2021
deepthi added a commit that referenced this pull request Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERS does not clear do_not_replicate flag on disk in some cases ERS seems to break in errant GTID check
3 participants