diff --git a/components/playground/instance/pd_config.go b/components/playground/instance/pd_config.go index d951299606..60091a3b0c 100644 --- a/components/playground/instance/pd_config.go +++ b/components/playground/instance/pd_config.go @@ -22,7 +22,7 @@ func (inst *PDInstance) getConfig() map[string]any { config["replication.enable-placement-rules"] = true config["replication.max-replica"] = 1 config["schedule.merge-schedule-limit"] = 0 - config["schedule.low-space-ration"] = 1.0 + config["schedule.low-space-ratio"] = 1.0 config["schedule.replica-schedule-limit"] = 500 } diff --git a/components/playground/playground.go b/components/playground/playground.go index 73fe009ad5..baf09cfeed 100644 --- a/components/playground/playground.go +++ b/components/playground/playground.go @@ -884,7 +884,7 @@ func (p *Playground) waitAllDBUp() ([]string, []string) { } for _, db := range p.tidbs { wg.Add(1) - prefix := db.Addr() + prefix := "- TiDB: " + db.Addr() bar := bars.AddBar(prefix) go func(dbInst *instance.TiDBInstance) { defer wg.Done() @@ -908,7 +908,7 @@ func (p *Playground) waitAllDBUp() ([]string, []string) { } for _, db := range p.tiproxys { wg.Add(1) - prefix := color.YellowString(db.Addr()) + prefix := "- TiProxy: " + db.Addr() bar := bars.AddBar(prefix) go func(dbInst *instance.TiProxy) { defer wg.Done() @@ -952,7 +952,15 @@ func (p *Playground) waitAllTiFlashUp() { bars := progress.NewMultiBar(colorstr.Sprintf("[dark_gray]Waiting for tiflash instances ready")) for _, flash := range p.tiflashs { wg.Add(1) - prefix := flash.Addr() + + tiflashKindName := "TiFlash" + if flash.Role == instance.TiFlashRoleDisaggCompute { + tiflashKindName = "TiFlash (CN)" + } else if flash.Role == instance.TiFlashRoleDisaggWrite { + tiflashKindName = "TiFlash (WN)" + } + + prefix := fmt.Sprintf("- %s: %s", tiflashKindName, flash.Addr()) bar := bars.AddBar(prefix) go func(flashInst *instance.TiFlashInstance) { defer wg.Done()