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

[Bug]: internal error: panic runtime error: index out of range [10] with length 10 when running sysbench random point case with 1000w data #14509

Closed
1 task done
aressu1985 opened this issue Feb 2, 2024 · 2 comments
Assignees
Milestone

Comments

@aressu1985
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

1.1-dev

Commit ID

40f1df0

Other Environment Information

- Hardware parameters: 64C 128G 
- OS type:
- Others:

Actual Behavior

job link:
https://github.com/matrixorigin/mo-nightly-regression/actions/runs/7741895346/job/21110133785

when running sysbench random point case with 1000w data, all the queries were failed.
FATAL: mysql_store_result() returned error 20101 (internal error: panic runtime error: index out of range [10] with length 10:
runtime.goPanicIndex
/usr/local/go/src/runtime/panic.go:114
github.com/matrixorigin/matrixone/pkg/sql/plan/function.PrefixIn
/data1/runners/action-runner/_work/mo-nightly-regression/mo-nightly-regression/head/pkg/sql/plan/function/func_prefix.go:135
github.com/matrixorigin/matrixone/pkg/sql/colexec.(*FunctionExpressionExecutor).Eval
/data1/runners/action-runner/_work/mo-nightly-regression/mo-nightly-regression/head/pkg/sql/col)
FATAL: thread_run' function failed: select_random_points.lua:71: SQL error, errno = 20101, state = 'HY000': internal error: panic runtime error: index out of range [10] with length 10: runtime.goPanicIndex /usr/local/go/src/runtime/panic.go:114 github.com/matrixorigin/matrixone/pkg/sql/plan/function.PrefixIn /data1/runners/action-runner/_work/mo-nightly-regression/mo-nightly-regression/head/pkg/sql/plan/function/func_prefix.go:135 github.com/matrixorigin/matrixone/pkg/sql/colexec.(*FunctionExpressionExecutor).Eval /data1/runners/action-runner/_work/mo-nightly-regression/mo-nightly-regression/head/pkg/sql/col FATAL: mysql_store_result() returned error 20101 (internal error: panic runtime error: index out of range [10] with length 10: runtime.goPanicIndex /usr/local/go/src/runtime/panic.go:114 github.com/matrixorigin/matrixone/pkg/sql/plan/function.PrefixIn /data1/runners/action-runner/_work/mo-nightly-regression/mo-nightly-regression/head/pkg/sql/plan/function/func_prefix.go:135 github.com/matrixorigin/matrixone/pkg/sql/colexec.(*FunctionExpressionExecutor).Eval /data1/runners/action-runner/_work/mo-nightly-regression/mo-nightly-regression/head/pkg/sql/col) FATAL: thread_run' function failed: select_random_points.lua:71: SQL error, errno = 20101, state = 'HY000': internal error: panic runtime error: index out of range [10] with length 10:
runtime.goPanicIndex
/usr/local/go/src/runtime/panic.go:114
github.com/matrixorigin/matrixone/pkg/sql/plan/function.PrefixIn
/data1/runners/action-runner/_work/mo-nightly-regression/mo-nightly-regression/head/pkg/sql/plan/function/func_prefix.go:135
github.com/matrixorigin/matrixone/pkg/sql/colexec.(*FunctionExpressionExecutor).Eval

Expected Behavior

No response

Steps to Reproduce

1. git clone https://github.com/matrixorigin/mo-sysbench.git
2. prepare data:
   create database sysbench_1000w_auto_index;
   sysbench --mysql-host=127.0.0.1 --mysql-port=6001 --mysql-user=dump --mysql-password='111' oltp_common.lua --mysql-db=sysbench_1000w_auto_index --tables=10 cleanup
   sysbench --mysql-host=127.0.0.1 --mysql-port=6001 --mysql-user=dump --mysql-password='111' oltp_common.lua --mysql-db=sysbench_1000w_auto_index --tables=10 --table_size=10000000 --threads=10  prepare

3. run test:
   sysbench  --mysql-host=127.0.0.1 --mysql-port=6001 --mysql-user=dump --mysql-password=111 --db-ps-mode=disable select_random_points.lua --mysql-db=sysbench_10w_auto_index --tables=10 --table_size=100000 --threads=100 --time=60 --report-interval=2 run

Additional information

No response

@aunjgr
Copy link
Contributor

aunjgr commented Feb 2, 2024

fixed by #14511 and #14519

@aunjgr aunjgr assigned aressu1985 and unassigned aunjgr Feb 2, 2024
@aressu1985
Copy link
Contributor Author

fixed

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

No branches or pull requests

4 participants
@aunjgr @aressu1985 @sukki37 and others