Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DocDB] Prevent user writes if we are close to disk full by rejecting TabletServiceImpl::PerformWrite #22430

Open
yugabyte-ci opened this issue May 16, 2024 · 0 comments
Assignees
Labels
jira-originated kind/enhancement This is an enhancement of an existing feature priority/high High Priority

Comments

@yugabyte-ci
Copy link
Contributor

yugabyte-ci commented May 16, 2024

Jira Link: DB-11337

Customers can load data into the system until they run out of disk space. Once we run out of disk the tservers will FATAL until extra disk is added.
A simple solution that will cover the majority of cases (not all) will be to check the available disk at TabletServiceImpl::PerformWrite and reject incoming writes if we do not have sufficient space (FLAGS_reject_writes_min_disk_space = 300MB).

This will cover the majority of cases since all nodes more of less have the same size and data distribution.

@yugabyte-ci yugabyte-ci added jira-originated kind/enhancement This is an enhancement of an existing feature priority/low Low priority status/awaiting-triage Issue awaiting triage labels May 16, 2024
@yugabyte-ci yugabyte-ci removed the status/awaiting-triage Issue awaiting triage label May 16, 2024
@yugabyte-ci yugabyte-ci added priority/high High Priority and removed priority/low Low priority labels May 16, 2024
@rthallamko3 rthallamko3 assigned hari90 and unassigned yusong-yan May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira-originated kind/enhancement This is an enhancement of an existing feature priority/high High Priority
Projects
None yet
Development

No branches or pull requests

4 participants