Skip to content

Limit TiKV write requests when the disk is near full #18007

@scsldb

Description

@scsldb

Description

When the disk space of TiKV is near full, and we don't do any limitation for the write requests, it will encounter out of disk space error. If this error happens, TiKV is hard to start again, because compaction will need some extra disk space.

Slowdown/stop TiKV write requests except for those high priority requests when the disk is near full to prevent out of disk space error.

Category

Stability、Usability

Value

Improve the stability and usability, prevent abnormal recovery caused by out of disk space error.

Task

  • monitor tikv disk
  • reject write request(except high priority task),
  • distinguish internal write and user write

Workload Estimation

200

Time (Optional)

GanttStart: 20xx-xx-xx
GanttDue: 20xx-xx-xx
GanttProgress: 0%

Metadata

Metadata

Labels

feature/acceptedThis feature request is accepted by product managerspriority/P1The issue has P1 priority.type/feature-requestCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions