Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

feat(split): child copy mutation asynchronously #676

Merged
merged 3 commits into from
Dec 3, 2020

Conversation

hycdong
Copy link
Contributor

@hycdong hycdong commented Nov 26, 2020

During partition split, parent partition should send mutation to child partition, child will copy this mutation and prepare it. This pull request is about child partition copying mutations asynchronously.
When parent is splitting, no matter it is primary or secondary, it should copy mutation to child, by calling function copy_mutation, child partition will put it into its own prepare list and add it into shared log and private log asynchronously.

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

Successfully merging this pull request may close these issues.

3 participants