Skip to content

[IOTDB-6301] wait leader ready in single replica#12234

Merged
OneSizeFitsQuorum merged 3 commits intoapache:masterfrom
HxpSerein:wait_leader_ready
Apr 9, 2024
Merged

[IOTDB-6301] wait leader ready in single replica#12234
OneSizeFitsQuorum merged 3 commits intoapache:masterfrom
HxpSerein:wait_leader_ready

Conversation

@HxpSerein
Copy link
Copy Markdown
Collaborator

Description

In single replica scenario, Ratis leader will be forcibly updated when a region is created, but writing needs to wait for the leader to take effect.

Copy link
Copy Markdown
Member

@SzyWilliam SzyWilliam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 the change looks good. Thanks @BUAAserein for the patch.

Copy link
Copy Markdown
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OneSizeFitsQuorum OneSizeFitsQuorum merged commit eee72fb into apache:master Apr 9, 2024
@HxpSerein HxpSerein deleted the wait_leader_ready branch April 22, 2024 05:53
SzyWilliam pushed a commit to SzyWilliam/iotdb that referenced this pull request Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants