api: add initialized flag in cluster status #1555
Signed-off-by: disksing email@example.com
What problem does this PR solve?
When initializing the cluster, PD needs to spend some time to add replica to the first region. If tidb-server is started before finish adding replica, the data may be written to single replica.
What is changed and how it works?
PD adds an flag of whether the region is initialized or not. Later