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

thread 'read-high' panicked 'assertion failed: max.total_cmp(&min).is_ge()' #1461

Closed
jiacai2050 opened this issue Jan 25, 2024 · 0 comments · Fixed by #1445
Closed

thread 'read-high' panicked 'assertion failed: max.total_cmp(&min).is_ge()' #1461

jiacai2050 opened this issue Jan 25, 2024 · 0 comments · Fixed by #1445
Labels
bug Something isn't working

Comments

@jiacai2050
Copy link
Contributor

Describe this problem

Found this panic in one of our deployment

2024-01-25 11:05:29.726 ERRO [src/components/panic_ext/src/lib.rs:57] thread 'read-high' panicked 'assertion failed: max.total_cmp(&min).is_ge()' at "/home/db/.cargo/git/checkouts/arrow-datafusion-b9eb4f789f8bda1f/9c3a537/datafusion/physical-expr/src/aggregate/tdigest.rs:613"

Server version

HoraeDB Server 
Version: 1.2.6-alpha
Git commit: 1a452f2c4
Git branch: main
Opt level: 3
Rustc version: 1.74.0-nightly
Target: x86_64-unknown-linux-gnu
Build date: 2024-01-23T07:20:04.728479053Z

Steps to reproduce

I guess this error is caused by approx_percentile_cont function, and depend on data distribution.

I will try to find a demo to reproduce this soon.

Expected behavior

No panic.

Additional Information

No response

@jiacai2050 jiacai2050 added the bug Something isn't working label Jan 25, 2024
jiacai2050 added a commit that referenced this issue Feb 23, 2024
## Rationale
Close #1461 

## Detailed Changes
Bump datafusion to
https://github.com/CeresDB/arrow-datafusion/commits/e21b03154, which is
version 33.

Some important breaking changes:
- apache/datafusion#7920
- apache/datafusion#9109

## Test Plan
CI

---------

Co-authored-by: jiacai2050 <dev@liujiacai.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant