yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
8.96k stars 1.07k forks source link

[DocDB] Disk threshold to stop master from adding new tablets to a tserver #19740

Open iSignal opened 12 months ago

iSignal commented 12 months ago

Jira Link: DB-8577

Description

Master load balancing continues to add tablets to a tserver even if it doesn't have the disk capacity. This can cause the tserver to run out of disk and shut down.

We need a tserver side "free disk space" threshold on adding new tablets (preferable, because it also handles create table scenarios) or a master side knob for this.

@lingamsandeep

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

mohatagarvit commented 12 months ago

Hi @iSignal,

Hope you are doing well!

I am Garvit Mohata, a MS CS student at UT Austin. My teammate (Kulin Shah) and I are taking the graduate Distributed Systems course and as a part of the course project, we are exploring the opportunity of contributing to the yugabyte open source repository.

This issue seems closely related to the content of the course so we were wondering if we can contribute to solve this issue.

Can you provide a bit more specific expectations and details to solve this issue and pointers if possible? Thank you!

Regards, Garvit

AyoubKaz07 commented 6 months ago

@iSignal Can you provide more details ? At which phase of the operation should the threshold stop master from to tserver ? What should be this threshold set to ?