How to query and modify the default value of scheduler-pending-write-threshold?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 如何查询、修改scheduler-pending-write-threshold的默认值?

| username: xiaoxiaozuofang

[TiDB Environment] Testing
[TiDB Version] tidb6.1.0
[Reproduction Path] What operations were performed to encounter the issue
[Encountered Issue: Issue Phenomenon and Impact] How to query and modify the default value of scheduler-pending-write-threshold?

| username: 裤衩儿飞上天 | Original post link

  1. tiup cluster edit-config XXXX
  2. Add the relevant configuration
  3. Reload the relevant nodes according to the prompts

| username: ShawnYan | Original post link

Reference:

| username: wangccsy | Original post link

A beginner is learning.

| username: xiaoxiaozuofang | Original post link

Reloading alone is not sufficient; the new configuration will only take effect after restarting the node.

| username: 裤衩儿飞上天 | Original post link

:+1::+1::+1:

Just follow the prompts to operate, reload or restart the relevant nodes.

| username: 小毛毛虫 | Original post link

Execute the following command on the management node:

tiup cluster edit-config <cluster-name>

to make modifications. After modifying, just reload it.
The default value of this parameter is generally sufficient in most cases.

| username: yulei7633 | Original post link

scheduler-pending-write-threshold

| username: yulei7633 | Original post link

scheduler-pending-write-threshold

  • The maximum value of the write data queue. If this value is exceeded, TiKV will return a Server Is Busy error for new writes.
  • Default value: 100MB
  • Unit: MB|GB
| username: dba远航 | Original post link

Use tiup cluster edit-config to edit the configuration.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.