Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

vifl master branch#158

Merged
rafael merged 2 commits intovifl-master-2from
vifl-vdiff-adhoc-changes
May 14, 2020
Merged

vifl master branch#158
rafael merged 2 commits intovifl-master-2from
vifl-vdiff-adhoc-changes

Conversation

@rafael
Copy link
Copy Markdown

@rafael rafael commented May 14, 2020

Description

  • Create a new vifl-master branch that is in sync with our master + vdiff ad-hoc changes.
  • This is the same as: VDiff External DB #144

This is the 1st commit message:

VDiff ad-hoc version for slack

This is the commit message #2:

Removes extra log items

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>

This is the commit message #3:

Print actual position where it actually stop

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>

This is the commit message #4:

Fixes bug in filepos flavor

* Prior to this commit, flavorpos was using lexicographical comparison of the gtids.
  Thas was a bug in this context.

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>

This is the commit message #5:

Updates how master gtid position is obtained for file:pos flavor

When generating masterGTIDSet in file:pos most likely you will have a topology
like the following:

  Source A -> Target B (B has a vreplication stream from A)

From the target perspective, the source A is the master and you want to generate
a gtid that is based on binlog file position of that server.

As an example, let's see this topology:

  Master A -> Source B -> Target C (C has vreplication stream from B)

Prior to this change, masterGTIDSet was returning the binlogfile:pos of A. But
in reality, the Target C wants the position of B.

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>

This is the commit message #6:

Cleanup per review

* Address PR review + some other cleanup per linter

Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
@rafael
Copy link
Copy Markdown
Author

rafael commented May 14, 2020

Note: It looks as it is less changes than the original diff, because some of these changes made upstream since we last rebased this.

Copy link
Copy Markdown

@setassociative setassociative left a comment

Choose a reason for hiding this comment

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

unit tests fail on mariadb10.2 and 10.3 but that seems ... fine?

@rafael rafael merged commit 3dbabc9 into vifl-master-2 May 14, 2020
@rafael
Copy link
Copy Markdown
Author

rafael commented May 14, 2020

Yeah - in our build those tests are super flaky. I don't know why.

@rafael rafael changed the title This is a combination of 6 commits. vifl master branch May 18, 2020
@rafael rafael deleted the vifl-vdiff-adhoc-changes branch May 18, 2020 16:45
@rafael
Copy link
Copy Markdown
Author

rafael commented May 18, 2020

I forced pushed this to vifl-master branch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants