You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SHOW PLACEMENT has a result column named Scheduling_state . Unfortunately, PD does not provide any HTTP API to get the scheduling state for the specified table/partition.
PD have a method IsRegionReplicated can make it. It should be easy to export it as a HTTP API.
The
SHOW PLACEMENT
has a result column namedScheduling_state
. Unfortunately, PD does not provide any HTTP API to get the scheduling state for the specified table/partition.PD have a method
IsRegionReplicated
can make it. It should be easy to export it as a HTTP API.https://github.com/tikv/pd/blob/fd3fc281e22681e4de48407f0b48a1a5da04d4d3/server/schedule/opt/healthy.go#L60-L68
After it, we can compute the scheduling state for each table/partition.
The text was updated successfully, but these errors were encountered: