-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redundant log "Waiting for tidb instances ready" #1000
Comments
Actually, it's not a bug, it's a progress status bar, and will stop print out until TiDB is fully started, see more from here: tiup/components/playground/playground.go Lines 792 to 820 in edb12b8
|
I think that if only one tidb instance is started, only one line of log should be output, because the tiflash below it does this, but I see this:
|
First of all, the tiup/pkg/cliutil/progress/progress.go Line 34 in edb12b8
and you can increase this value to see if the output decreased or not by set env tiup/pkg/cliutil/progress/progress.go Line 42 in edb12b8
But that leaves me with the question, why has TiDB taken so long to bootup? |
I tried to set env
|
I think it would be better if we change those lines to a progress bar status that always refresh itself on the same line, as suggested in #1454 |
Any update on this? It's really painful.. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
Run
tiup playground
What did you expect to see?
one line of "Waiting for tidb instances ready" log
What did you see instead?
multi line of "Waiting for tidb instances ready" log
What version of TiUP are you using (
tiup --version
)?The text was updated successfully, but these errors were encountered: