playground: wait PD ready before starting TiDB to avoid cluster ID mismatch#2679
playground: wait PD ready before starting TiDB to avoid cluster ID mismatch#2679amyangfei wants to merge 1 commit intopingcap:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2679 +/- ##
==========================================
+ Coverage 42.30% 42.31% +0.01%
==========================================
Files 424 424
Lines 46888 46919 +31
==========================================
+ Hits 19834 19853 +19
- Misses 24390 24398 +8
- Partials 2664 2668 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
203a33f to
bd05357
Compare
What problem does this PR solve?
close #2678
What is changed and how it works?
Test PD
pd/api/v1/membersAPI returns non-zero clusterID in response before starting TiDB server to avoid TiDB server gets incorrect cluster-idCheck List
Tests
Test multiple times with
tiup playground v6.1.7 --db 1 --pd 1 --kv 3 --tiflash 0Code changes
Side effects
Related changes
Release notes: