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

Encounter "panic: Unknown partition type 0" when running tiup bench tpcc #1754

Closed
Yui-Song opened this issue Feb 14, 2022 · 1 comment · Fixed by #1755
Closed

Encounter "panic: Unknown partition type 0" when running tiup bench tpcc #1754

Yui-Song opened this issue Feb 14, 2022 · 1 comment · Fixed by #1755
Labels
type/bug Categorizes issue as related to a bug.

Comments

@Yui-Song
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

Encounter "panic: Unknown partition type 0" when running tiup bench tpcc while it works when running with go-tpc v1.0.8, which was installed with the following scripts:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/pingcap/go-tpc/master/install.sh | sh

It may be related to the following PR, TiUP may miss some default parameters.
https://github.com/pingcap/go-tpc/pull/86/files

origin_img_v2_833c7bf3-1254-4f99-9c1b-ffe4ff5b7e6g

  1. What did you expect to see?
    origin_img_v2_57b83187-fb57-4a89-9e95-f56fa367f7dg

  2. What did you see instead?
    origin_img_v2_ca5a37b7-eef3-4f95-a539-6049f4183b3g

  3. What version of TiUP are you using (tiup --version)?
    tiup bench v1.9.0

@Yui-Song Yui-Song added the type/bug Categorizes issue as related to a bug. label Feb 14, 2022
@Yui-Song
Copy link
Author

A workaround is to use tiup bench:v1.8.2

tiup uninstall bench --all
tiup install bench:v1.8.2

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