Skip to content
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

TiUP doesn't download tiflash component in playground subcommand and reports 'queer' error message. #888

Closed
iosmanthus opened this issue Nov 6, 2020 · 0 comments · Fixed by #1280
Labels
type/bug Categorizes issue as related to a bug.

Comments

@iosmanthus
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
  • tiup playground nightly or
  • tiup playground nightly --pd 1 --db 1 --kv 1 --tiflash 1

However, this issue won't occur while I specify a version to these components.

  1. What did you expect to see?

Create a local TiDB cluster normally.

  1. What did you see instead?
🕙 14:30:57 ❯ tiup playground nightly
Starting component `playground`: /home/iosmanthus/.tiup/components/playground/v1.2.3/tiup-playground nightly
Playground Bootstrapping...
Start pd instance
Start tikv instance
Start tidb instance
Waiting for tidb 127.0.0.1:4000 ready  ... ⠏ 
Waiting for tidb 127.0.0.1:4000 ready  ... Done
Waiting for tikv 127.0.0.1:20160 ready  ... Done
Start tiflash instance
TiFlash failed to start: error requesting http://127.0.0.1:2379/pd/api/v1/config/replicate, response: "cannot update MaxReplicas when placement rules feature is enabled, please update rule instead"
, code 500
CLUSTER START SUCCESSFULLY, Enjoy it ^-^
To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root
To view the dashboard: http://127.0.0.1:2379/dashboard
To view the Prometheus: http://127.0.0.1:45943
To view the Grafana: http://127.0.0.1:3000
  1. What version of TiUP are you using (tiup --version)?
v1.2.3 tiup
Go Version: go1.13
Git Branch: release-1.2
GitHash: df7e28a
@iosmanthus iosmanthus added the type/bug Categorizes issue as related to a bug. label Nov 6, 2020
lucklove added a commit to lucklove/tiup that referenced this issue Apr 5, 2021
This reverts commit 402079d.

We should reverts pingcap#902 because it introduced an issue:
pingcap#1279

BTW, PD itself fixes pingcap#888 in tikv/pd#3163
So we don't need pingcap#902 anymore with recently released PD.

However, after revert pingcap#902, *** old PDs (before #3163) may not work
with tiup-playground ***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Categorizes issue as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant