Skip to content

[IOTDB-5843] Stall write requests when system shutting down#9819

Merged
OneSizeFitsQuorum merged 1 commit intoapache:masterfrom
SzyWilliam:jira5843
May 11, 2023
Merged

[IOTDB-5843] Stall write requests when system shutting down#9819
OneSizeFitsQuorum merged 1 commit intoapache:masterfrom
SzyWilliam:jira5843

Conversation

@SzyWilliam
Copy link
Member

Changes proposed

See https://issues.apache.org/jira/browse/IOTDB-5843.
In RatisConsensus

  1. reject client write-requests when system-readonly.
  2. stall state machine applying when system-readonly (not because of shutting down)

Copy link
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

Copy link
Member

@wangchao316 wangchao316 left a comment

Choose a reason for hiding this comment

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

LGTM

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