tikv缩容,影响tidb连接中断

TiKV的错误信息

[2023/07/04 01:33:23.989 +00:00] [INFO] [signal_handler.rs:19] ["receive signal 15, stopping server..."]
[2023/07/04 01:33:24.043 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.14:39746: Sending goaway err={\"created\":\"@1688434404.043286523\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]
[2023/07/04 01:33:24.043 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.14:39742: Sending goaway err={\"created\":\"@1688434404.043293155\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]
[2023/07/04 01:33:24.044 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.14:39740: Sending goaway err={\"created\":\"@1688434404.043294237\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]
[2023/07/04 01:33:24.044 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.14:39744: Sending goaway err={\"created\":\"@1688434404.043296301\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]
[2023/07/04 01:33:24.044 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.15:60918: Sending goaway err={\"created\":\"@1688434404.043297724\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]
[2023/07/04 01:33:24.044 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.15:60912: Sending goaway err={\"created\":\"@1688434404.043299056\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]
[2023/07/04 01:33:24.044 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.15:60916: Sending goaway err={\"created\":\"@1688434404.043299958\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]
[2023/07/04 01:33:24.044 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.15:60914: Sending goaway err={\"created\":\"@1688434404.043311610\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]
[2023/07/04 01:33:24.044 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.16:41874: Sending goaway err={\"created\":\"@1688434404.043312832\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]
[2023/07/04 01:33:24.044 +00:00] [INFO] [<unknown>] ["ipv4:10.0.0.16:41869: Sending goaway err={\"created\":\"@1688434404.043313994\",\"description\":\"Server shutdown\",\"file\":\"/rust/registry/src/github.com-1ecc6299db9ec823/grpcio-sys-0.9.1+1.38.0/grpc/src/core/lib/surface/server.cc\",\"file_line\":480,\"grpc_status\":0}"]

TiDB的错误信息:

[2023/07/04 01:33:24.057 +00:00] [INFO] [client_batch.go:609] ["batchRecvLoop fails when receiving, needs to reconnect"] [target=10.0.0.17:20160] [forwardedHost=] [error="rpc error: code = Unavailable desc = transport is closing"]
[2023/07/04 01:33:24.057 +00:00] [INFO] [client_batch.go:609] ["batchRecvLoop fails when receiving, needs to reconnect"] [target=10.0.0.17:20160] [forwardedHost=] [error="rpc error: code = Unavailable desc = transport is closing"]
[2023/07/04 01:33:24.057 +00:00] [INFO] [client_batch.go:609] ["batchRecvLoop fails when receiving, needs to reconnect"] [target=10.0.0.17:20160] [forwardedHost=] [error="rpc error: code = Unavailable desc = transport is closing"]
[2023/07/04 01:33:24.057 +00:00] [INFO] [client_batch.go:609] ["batchRecvLoop fails when receiving, needs to reconnect"] [target=10.0.0.17:20160] [forwardedHost=] [error="rpc error: code = Unavailable desc = transport is closing"]
[2023/07/04 01:33:24.364 +00:00] [WARN] [client_batch.go:365] ["no available connections"] [target=10.0.0.17:20160]
[2023/07/04 01:33:24.366 +00:00] [INFO] [region_cache.go:2199] ["[health check] check health error"] [store=10.0.0.17:20160] [error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp 10.0.0.17:20160: connect: connection refused\""]
[2023/07/04 01:33:24.366 +00:00] [INFO] [region_request.go:785] ["mark store's regions need be refill"] [id=297684] [addr=10.0.0.17:20160] [error="no available connections"]