Skip to content

Backport: VDiff2: Support Resuming VDiffs#10589

Merged
mattlord merged 2 commits intovitessio:release-14.0from
planetscale:backport10497_v14
Jun 27, 2022
Merged

Backport: VDiff2: Support Resuming VDiffs#10589
mattlord merged 2 commits intovitessio:release-14.0from
planetscale:backport10497_v14

Conversation

@mattlord
Copy link
Copy Markdown
Member

@mattlord mattlord commented Jun 27, 2022

Description

This is a backport of #10497. While the primary intention of that work was to add a new feature — namely Resume — in the process of implementing that it became clear that the existing VDiff2 work in 14.0 could easily produce incorrect results and was not easy to validate or debug. There were also a number of other smaller/minor bugs that were fixed in that work. All of this made it very challenging for early adopters to try it out, get value, and provide meaningful feedback (which was the entire reason to get the experimental version into 14.0 in the first place). Because of this, combined with the fact that VDiff2 is experimental and has isolated code, we are backporting this work for 14.0 GA (normally new feature work would only go into main).

Related Issue(s)

Checklist

Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord added Type: Bug Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: VReplication release notes labels Jun 27, 2022
And fix a number of bugs discovered related to incorrect VDiff summary handling and other more minor things.

Signed-off-by: Matt Lord <mattalord@gmail.com>
Copy link
Copy Markdown
Member

@rohit-nayak-ps rohit-nayak-ps left a comment

Choose a reason for hiding this comment

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

lgtm

@mattlord mattlord marked this pull request as ready for review June 27, 2022 16:25
@github-actions
Copy link
Copy Markdown
Contributor

Review Checklist

Hello reviewers! 👋 Please follow this checklist when reviewing this Pull Request.

General

  • If this is a change that users need to know about, please apply the release notes (needs details) label so that merging is blocked unless the summary release notes document is included.
  • If a new flag is being introduced, review whether it is really needed. The flag names should be clear and intuitive (as far as possible), and the flag's help should be descriptive.
  • If a workflow is added or modified, each items in Jobs should be named in order to mark it as required. If the workflow should be required, the GitHub Admin should be notified.

Bug fixes

  • There should be at least one unit or end-to-end test.
  • The Pull Request description should either include a link to an issue that describes the bug OR an actual description of the bug and how to reproduce, along with a description of the fix.

Non-trivial changes

  • There should be some code comments as to why things are implemented the way they are.

New/Existing features

  • Should be documented, either by modifying the existing documentation or creating new documentation.
  • New features should have a link to a feature request issue or an RFC that documents the use cases, corner cases and test cases.

Backward compatibility

  • Protobuf changes should be wire-compatible.
  • Changes to _vt tables and RPCs need to be backward compatible.
  • vtctl command output order should be stable and awk-able.

@mattlord mattlord merged commit 1fee520 into vitessio:release-14.0 Jun 27, 2022
@mattlord mattlord deleted the backport10497_v14 branch June 27, 2022 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: VReplication Type: Bug Type: Enhancement Logical improvement (somewhere between a bug and feature)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants