[go: up one dir, main page]

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

unexpected admin checksum result in unistore #57732

Open
wjhuang2016 opened this issue Nov 26, 2024 · 0 comments
Open

unexpected admin checksum result in unistore #57732

wjhuang2016 opened this issue Nov 26, 2024 · 0 comments
Labels
type/bug The issue is confirmed as a bug.

Comments

@wjhuang2016
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table tb(id int primary key) partition by hash (id) partitions 16;
insert into tb values(1);
admin checksum table tb;

2. What did you expect to see? (Required)

mysql> admin checksum table tb;
+---------+------------+----------------------+-----------+-------------+
| Db_name | Table_name | Checksum_crc64_xor   | Total_kvs | Total_bytes |
+---------+------------+----------------------+-----------+-------------+
| test    | tb         | 15431044026820383696 |         1 |          25 |
+---------+------------+----------------------+-----------+-------------+
1 row in set (0.01 sec)

3. What did you see instead (Required)

mysql> admin checksum table tb;
+---------+------------+--------------------+-----------+-------------+
| Db_name | Table_name | Checksum_crc64_xor | Total_kvs | Total_bytes |
+---------+------------+--------------------+-----------+-------------+
| test    | tb         |                  1 |        17 |          17 |
+---------+------------+--------------------+-----------+-------------+
1 row in set (0.01 sec)

Total_kvs should be 1

4. What is your TiDB version? (Required)

master

@wjhuang2016 wjhuang2016 added the type/bug The issue is confirmed as a bug. label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

1 participant