Skip to content

restore: check disable_active_reparents properly before waiting for position update#7703

Merged
deepthi merged 5 commits intovitessio:masterfrom
planetscale:ds-fix-7576
Mar 30, 2021
Merged

restore: check disable_active_reparents properly before waiting for position update#7703
deepthi merged 5 commits intovitessio:masterfrom
planetscale:ds-fix-7576

Conversation

@deepthi
Copy link
Collaborator

@deepthi deepthi commented Mar 17, 2021

Description

In #7576 we intended to introduce a check in startReplication to skip waiting if disable_active_reparents is set. The check was incorrect, this PR fixes it.
#7576 breaks the case fixed in #5000, so I have added the necessary tests to ensure this doesn't break again.
Also, call orc.EndMaintenance only if the backup/restore process is successful.

Related Issue(s)

#7657
#4426

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Impacted Areas in Vitess

Components that this PR will affect:

  • Query Serving
  • VReplication
  • Cluster Management
  • Build/CI
  • VTAdmin

…osition update

Signed-off-by: deepthi <deepthi@planetscale.com>
deepthi added 3 commits March 16, 2021 19:06
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
@deepthi deepthi requested review from enisoc and sougou March 17, 2021 02:13
Signed-off-by: deepthi <deepthi@planetscale.com>
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.

3 participants