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]: Panic 'index out of bounds' #69

Closed
jiacai2050 opened this issue Jul 31, 2023 · 0 comments · Fixed by #70 or apache/horaedb#1131
Closed

[Bug]: Panic 'index out of bounds' #69

jiacai2050 opened this issue Jul 31, 2023 · 0 comments · Fixed by #70 or apache/horaedb#1131

Comments

@jiacai2050
Copy link
Contributor

jiacai2050 commented Jul 31, 2023

Describe the bug

This error arise from one of our cluster,

2023-07-31 10:15:57.182 ERRO [components/panic_ext/src/lib.rs:42] thread 'ceres-default' panicked 'index out of bounds: the len
 is 0 but the index is 0' at "/root/.cargo/registry/src/gitlab.xxx.com-bfbf2811318eff5d/mysql-16.1.0/src/conn/mod.rs:861"   

Environment

  • OS Version and CPU Arch(uname -a):

  • Component Version:

  obkv-table-client-rs = { git = "https://github.com/oceanbase/obkv-table-client-rs.git", rev = "f7c7a2c866fc83af4862b02447538f2abc5e8839" }

Fast Reproduce Steps(Required)

I cannot find a reliable way to reproduce this.

Steps to reproduce the behavior:

Expected behavior
No panic

Actual Behavior
Server panic

Additional context

https://docs.rs/mysql/latest/mysql/ is already 24, maybe this bug already fixed in upstream.

@IHEII IHEII closed this as completed in #70 Aug 1, 2023
jiacai2050 pushed a commit to apache/horaedb that referenced this issue Aug 4, 2023
## Rationale
See oceanbase/obkv-table-client-rs#69

## Detailed Changes
* Upgrade OBKV client to latest version.
* Upgrade `async-trait` to resolve dep conflicts.

## Test Plan
OBKV team has tested the client.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant