Debug Information Pops Up When Starting TiFlash with TiUP Playground

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tiup playground 拉起 tiflash 时弹出debug信息

| username: ShawnYan

【TiDB Usage Environment】Production Environment / Testing / Poc
【TiDB Version】
【Reproduction Path】What operations were performed when the issue occurred
【Encountered Issue: Issue Phenomenon and Impact】
【Resource Configuration】Enter TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
【Attachments: Screenshots / Logs / Monitoring】

playground:v1.14.1, when starting tiflash, debug information is prompted:
userConfig map[flash:map[proxy:map[config:/home/tidb/.tiup/data/v8/tiflash-0/tiflash_proxy.toml]] logger:map[level:debug]]

[tidb@shawnyan ~ 14:07:32]$ 
[tidb@shawnyan ~ 14:07:32]$ rm -rf .tiup/data/
[tidb@shawnyan ~ 14:07:36]$ 
[tidb@shawnyan ~ 14:07:36]$ tiup playground:v1.14.1 8.0.0 --tag v8 --tiflash 1 --without-monitor
Starting component `playground`: /home/tidb/.tiup/components/playground/v1.14.1/tiup-playground 8.0.0 --tag v8 --tiflash 1 --without-monitor
Using the version v8.0.0 for version constraint "8.0.0".

If you'd like to use a TiDB version other than v8.0.0, cancel and retry with the following arguments:
	Specify version manually:   tiup playground <version>
	Specify version range:      tiup playground ^5
	The nightly version:        tiup playground nightly

Start pd instance:v8.0.0
Start tikv instance:v8.0.0
Start tidb instance:v8.0.0
Waiting for tidb instances ready
127.0.0.1:4000 ... Done
Start tiflash instance:v8.0.0
userConfig map[flash:map[proxy:map[config:/home/tidb/.tiup/data/v8/tiflash-0/tiflash_proxy.toml]] logger:map[level:debug]]
Waiting for tiflash instances ready
127.0.0.1:3930 ... Done

🎉 TiDB Playground Cluster is started, enjoy!

Connect TiDB:    mysql --comments --host 127.0.0.1 --port 4000 -u root
TiDB Dashboard:  http://127.0.0.1:2379/dashboard

In version 1.13.1, it works normally

[tidb@shawnyan ~ 14:06:49]$ tiup -v
1.14.0 tiup
Go Version: go1.21.5
Git Ref: v1.14.1
GitHash: 23f7b0f0f3a0ad29e90a7b12b1097e8d4074cb3e
[tidb@shawnyan ~ 14:06:50]$ tiup playground:v1.13.1 8.0.0 --tag v8 --tiflash 1 --without-monitor
Starting component `playground`: /home/tidb/.tiup/components/playground/v1.13.1/tiup-playground 8.0.0 --tag v8 --tiflash 1 --without-monitor
Using the version v8.0.0 for version constraint "8.0.0".

If you'd like to use a TiDB version other than v8.0.0, cancel and retry with the following arguments:
	Specify version manually:   tiup playground <version>
	Specify version range:      tiup playground ^5
	The nightly version:        tiup playground nightly

Start pd instance:v8.0.0
Start tikv instance:v8.0.0
Start tidb instance:v8.0.0
Waiting for tidb instances ready
127.0.0.1:4000 ... Done
Start tiflash instance:v8.0.0
Waiting for tiflash instances ready
127.0.0.1:3930 ... Done

🎉 TiDB Playground Cluster is started, enjoy!

Connect TiDB:    mysql --comments --host 127.0.0.1 --port 4000 -u root
TiDB Dashboard:  http://127.0.0.1:2379/dashboard
| username: 小龙虾爱大龙虾 | Original post link

Is it actually usable?

| username: DBAER | Original post link

It should be a code issue, the log level is set incorrectly.

| username: WalterWj | Original post link

This looks like the config of TiFlash was printed out, doesn’t seem to have any impact.

| username: ShawnYan | Original post link

Yes, probably forgot to comment somewhere, didn’t look closely, it doesn’t affect usage anyway.

| username: ShawnYan | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.