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

feat(dup): implement duplication_sync on meta server side #297

Merged
merged 11 commits into from
Aug 26, 2019

Conversation

neverchanje
Copy link
Contributor

@neverchanje neverchanje commented Aug 19, 2019

Only one thing does this PR focus: duplication_sync.
Meta-server passively synchronizes states of duplication to Replica-server through duplication_sync_rpc.

The execution graph:

meta_service::on_duplication_sync (receives duplication_sync_request
|
meta_duplication_service::duplication_sync (handles the rpc
|
meta_duplication_service::get_all_available_app (get all apps on this server,
|
store the entire duplication states on this server into response
|
meta_duplication_service::do_update_partition_confirmed (udpates confirmed decree to zookeeper in parrallel, each partition applies a zk write.
|
reply

@neverchanje neverchanje changed the title dup: implement duplication_sync on meta server side feat(dup): implement duplication_sync on meta server side Aug 23, 2019
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