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

Vifl slack vitess 2020.06.22.r7#173

Merged
rafael merged 7 commits intovifl-master-twofrom
vifl-slack-vitess-2020.06.22.r7
Aug 17, 2020
Merged

Vifl slack vitess 2020.06.22.r7#173
rafael merged 7 commits intovifl-master-twofrom
vifl-slack-vitess-2020.06.22.r7

Conversation

@rafael
Copy link
Copy Markdown

@rafael rafael commented Aug 13, 2020

Description

This branch syncs vifls branch with tinyspeck/master (Vitess 6.0). Once we feel this is good and we merge it, I will force push this branch to vifl-master-two to vifl-master. Opening against our current master to make it easy to reason about.

Details

Rafael Chacon added 7 commits August 13, 2020 11:52
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>
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
Signed-off-by: Rafael Chacon <rafael@slack-corp.com>
@rafael rafael merged commit 638ba20 into vifl-master-two Aug 17, 2020
@rafael rafael deleted the vifl-slack-vitess-2020.06.22.r7 branch August 17, 2020 19:17
@rafael
Copy link
Copy Markdown
Author

rafael commented Aug 17, 2020

Forced pushed this branch to be vifl-master.

@rafael rafael restored the vifl-slack-vitess-2020.06.22.r7 branch October 1, 2020 12:51
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