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

fix(disk): fix disk space insufficient bug #851

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

hycdong
Copy link
Contributor

@hycdong hycdong commented Jul 5, 2021

#833 adds the feature that when disk space is insufficient, server will reject write requests. Disk status will be checked and updated periodically, only when disk status changed, the replicas on it will update their status. Here existing a bug that if the disk space is insufficient when the server started, the disk status will always be insufficient, and it won't be updated when we close disk space check. This pull request fixs the bug above, and adds related unit test.

[replication]
-enable_disk_available_space_check=true
+reject_write_when_disk_insufficient=true

@hycdong hycdong added type/bug-fix This PR fixes a bug. type/config-change PR that made modification on configs, which should be noted in release note. labels Jul 5, 2021
@Smityz
Copy link
Contributor

Smityz commented Jul 5, 2021

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/bug-fix This PR fixes a bug. type/config-change PR that made modification on configs, which should be noted in release note.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants