Conversation
There was a problem hiding this comment.
i'm guessing you don't want that upstreamed
55cd85d to
3ea87d8
Compare
|
@michael-berlin We've been using this on the last couple of splits and it's decreased out split time quite dramatically (by as much as 70-80% on a 1:4 split). Any chance you want to start looking at this again? |
|
YouTubers have been busy. I'm going through the backlog of pending PRs. So, I'll take a look when I get to it. The unit test failure in Travis looks real. So, that may need fixing. |
|
Yeah I took a brief look but didn’t see an obvious solution. I’d love some
feedback on the general approach before I invest more time digging in to
find a solution.
ons 9 maj 2018 kl. 15:07 skrev Sugu Sougoumarane <notifications@github.com>:
YouTubers have been busy. I'm going through the backlog of pending PRs.
So, I'll take a look when I get to it. The unit test failure in Travis
looks real. So, that may need fixing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3781 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAAs4XR457aC2eioqm2LjjgSr7hCN1_Xks5twuoggaJpZM4S89Fc>
.
--
Jon Tirsen +46 730 359095 https://twitter.com/tirsen
https://linkedin.com/in/tirsen
|
|
Finally got around to reviewing this. Some high level comments:
Tagging @michael-berlin for possible feedback. |
|
Yeah I think this can replace the regular SplitDiff which is why I didn't put down the effort to de-duping the code. The only thing the regular SplitDiff can do that MultiSplitDiff can't is diffing a shard merge. I think it should be possible to add that though if necessary (it will complicate the code though). Yeah you can stop the filtered replication but then you need to wait for replication to catch up in the target shards replica that we're going to use for the diff. That's what we're doing there. Maybe we can wait a fixed time or just until replication lag reaches 0? |
|
@sougou What say you, shall we try to get this merged? We've been using it for months and it's pretty solid. |
|
Reposting this from the other PR: There are a few reasons why I've been sitting on this:
I'm thinking we should merge vreplication and implement this as a change to SplitDiff after that merge. |
|
My comments on this one:
|
|
FYI I have rebased this on the new vreplication changes and done some basic testing. We're going to use this for our upcoming shard splits. |
|
We've been using our rebase for a few shard splits now and it's solid. Going to clean it up a bit and re-push to this PR. |
A new implementation of split diff that diffs against all the destination servers at the same time. Since we only have to read out of the source a single time this could give significant time savings. Signed-off-by: Jon Tirsen <jontirsen@squareup.com>
3ea87d8 to
78335b7
Compare
|
Ok rebased squashed and pushed. This is ready to be reviewed. There are still spurious test failures though. Given how many times we've used this in production they're likely false negatives so would appreciate any pointers on how to fix them. |
A new implementation of split diff that diffs against all the
destination servers at the same time. Since we only have to read out of
the source a single time this could give significant time savings.
Signed-off-by: Jon Tirsen jontirsen@squareup.com
This change is