Skip to content

Implement a /ready API to check server readiness post startup #18244

@hbisheng

Description

@hbisheng

The issue tracks the implementation of the /ready API in TiKV.

This API will be used to check the server's readiness after startup, similar to Kubernetes' readyz API. It will assist control plane services during rolling upgrades by making it easier to determine if an instance is fully ready to serve and whether the upgrade process can proceed to the next instance.

Having a unified readiness check interface across all TiDB components (TiKV, PD, TiDB) will simplify the process for control plane services, improving consistency and efficiency.

Note: PD has already implemented a similar API in #8749.

Metadata

Metadata

Assignees

Labels

type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions