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

fix(split): add special check for on_config_sync #766

Merged
merged 2 commits into from
Feb 26, 2021

Conversation

hycdong
Copy link
Contributor

@hycdong hycdong commented Feb 23, 2021

When parent partition registers child partition, it will create child partition on remote storage(zk), parent partition's config_context.stage will be set config_status::pending_remote_sync, meaning this partition is sync configuration to remote storage. Different from normal sync-configuration request, register request won't set config_context.pending_sync_request, so it should be check specially during on_config_sync.

@hycdong hycdong marked this pull request as ready for review February 26, 2021 03:42
@levy5307 levy5307 merged commit ac17c6e into XiaoMi:master Feb 26, 2021
@hycdong hycdong deleted the meta_on_config_sync_check branch February 26, 2021 07:12
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