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

server: inconsistency happens during benchmarksql tests #334

Open
cfzjywxk opened this issue Feb 11, 2020 · 1 comment
Open

server: inconsistency happens during benchmarksql tests #334

cfzjywxk opened this issue Feb 11, 2020 · 1 comment

Comments

@cfzjywxk
Copy link
Contributor

Inconsistency happens on the table bmsql_new_order, the handle seems to have fewer data compared with the primary key index

admin check table bmsql_new_order;
ERROR 1105 (HY000): handle 128987, index:types.Datum{k:0x1, collation:0x0, decimal:0x0, length:0x0, i:11, b:[]uint8(nil), x:interface {}(nil)} != record:<nil>

select count(*) from bmsql_new_order;
+----------+
| count(*) |
+----------+
|   452721 |
+----------+
1 row in set (0.13 sec)

select count(*) from bmsql_new_order use index(primary);
+----------+
| count(*) |
+----------+
|   474515 |
+----------+
1 row in set (0.14 sec)

@cfzjywxk cfzjywxk changed the title server: inconsistent happens during benchmarksql tests server: inconsistency happens during benchmarksql tests Feb 19, 2020
@cfzjywxk
Copy link
Contributor Author

Can't reproduce using dead loop fixed tidb-server binary tidb-branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant