From 64cd48ce28d890213e79bcaa6a74c1347c04a950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Tue, 28 Oct 2025 15:21:07 +0100 Subject: [PATCH 1/2] tidb-configuration-file: add detail for graceful shutdown --- tidb-configuration-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md index 9cd4e13d88a1b..262cd4b238fc4 100644 --- a/tidb-configuration-file.md +++ b/tidb-configuration-file.md @@ -208,7 +208,7 @@ The TiDB configuration file supports more options than command-line parameters. - Specifies the number of seconds that TiDB waits when you shut down the server, which allows the clients to disconnect. - Default value: `0` -- When TiDB is waiting for shutdown (in the grace period), the HTTP status will indicate a failure, which allows the load balancers to reroute traffic. +- When TiDB is waiting for shutdown (in the grace period), the HTTP status will indicate a failure, which allows the load balancers to reroute traffic. During shutdown it will also respond with an error to the `COM_PING` command. > **Note:** > From 1f47954be4b2952a6ef0a2916d90c5f717ab221d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Tue, 28 Oct 2025 15:46:23 +0100 Subject: [PATCH 2/2] Update tidb-configuration-file.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tidb-configuration-file.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-configuration-file.md b/tidb-configuration-file.md index 262cd4b238fc4..14f7c9c45bc22 100644 --- a/tidb-configuration-file.md +++ b/tidb-configuration-file.md @@ -208,7 +208,7 @@ The TiDB configuration file supports more options than command-line parameters. - Specifies the number of seconds that TiDB waits when you shut down the server, which allows the clients to disconnect. - Default value: `0` -- When TiDB is waiting for shutdown (in the grace period), the HTTP status will indicate a failure, which allows the load balancers to reroute traffic. During shutdown it will also respond with an error to the `COM_PING` command. +- When TiDB is waiting for shutdown (in the grace period), the HTTP status will indicate a failure, which allows the load balancers to reroute traffic. It also responds with an error to the `COM_PING` command. > **Note:** >