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] Make tserver and master stop writing data when a configurable percentage of disk space is left. #10829

Open
fritshoogland-yugabyte opened this issue Dec 10, 2021 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@fritshoogland-yugabyte
Copy link

fritshoogland-yugabyte commented Dec 10, 2021

Jira Link: DB-815

Description

Currently, when the tserver (and thus master) runs out of diskspace, it continues to write until the diskspace is exhausted and the tserver gets an operating system out of disk space error.

When the out of disk space error is signalled, the tserver crashes. When the tserver is started again, it will find the database in an inconsistent state, and will try to recover, which will hit the out of disk space issue again. This means that normally, in such a situation, the tserver becomes unavailable.

The current situation means that the tserver cannot be recovered from the out of disk space issue once it hits it, unless free disk space is made available. For that, minimally intervention is needed, which is quite probably manual intervention, and until the intervention happens and disk space is made available the tserver is not available.

It would make sense to have a configurable flag that sets the amount of disk space as a percentage of total disk space, which will stop the tserver from performing client writes.
In that way, the data remains available, and in the case of a crash makes it possible to let the tserver recover the data.

@fritshoogland-yugabyte fritshoogland-yugabyte added the area/docdb YugabyteDB core features label Dec 10, 2021
@bmatican bmatican added this to Backlog in YBase features via automation Dec 10, 2021
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jun 8, 2022
@yugabyte-ci yugabyte-ci assigned rthallamko3 and unassigned bmatican Jul 28, 2022
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed kind/bug This issue is a bug labels Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
YBase features
  
Backlog
Development

No branches or pull requests

5 participants