The server should not be set to a healthy state when it is not started #51596
Labels
affects-6.5
affects-7.1
affects-7.5
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
When initializing the struct of the server, health is set to true by default
tidb/pkg/server/server.go
Line 249 in 54cca35
But there is a lot of preparation work after starting the server, and at this time, the service cannot be set to healthy, otherwise it may cause errors. It can be set to healthy after initialization is completed.
tidb/pkg/server/server.go
Lines 457 to 467 in 54cca35
The text was updated successfully, but these errors were encountered: