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

Panic with index out of range #217

Open
jnyi opened this issue Mar 13, 2023 · 1 comment
Open

Panic with index out of range #217

jnyi opened this issue Mar 13, 2023 · 1 comment

Comments

@jnyi
Copy link

jnyi commented Mar 13, 2023

Hi Team,

We are experimenting with thanos' promql engine and found this error when thanos receive started to ingest data for around 10 mins:

    receive
    "--query.promql-engine=thanos",
panic: runtime error: index out of range [0] with length 0

goroutine 144357 [running]:
github.com/thanos-community/promql-engine/execution/binary.(*scalarOperator).Next(0xc0a9ff8980, {0x2afd790, 0xc017465220})
	/go/pkg/mod/github.com/thanos-community/[email protected]/execution/binary/scalar.go:139 +0x92d
github.com/thanos-community/promql-engine/execution/binary.(*scalarOperator).Next(0xc0a9ff8a80, {0x2afd790, 0xc017465220})
	/go/pkg/mod/github.com/thanos-community/[email protected]/execution/binary/scalar.go:113 +0x1a2
github.com/thanos-community/promql-engine/execution/aggregate.(*aggregate).Next(0xc0a8bec9c0, {0x2afd790, 0xc017465220})
	/go/pkg/mod/github.com/thanos-community/[email protected]/execution/aggregate/hashaggregate.go:110 +0xb3
github.com/thanos-community/promql-engine/execution/exchange.(*concurrencyOperator).pull(0xc0aa290480, {0x2afd790, 0xc017465220})
	/go/pkg/mod/github.com/thanos-community/[email protected]/execution/exchange/concurrent.go:80 +0xe8
created by github.com/thanos-community/promql-engine/execution/exchange.(*concurrencyOperator).Next.func1
	/go/pkg/mod/github.com/thanos-community/[email protected]/execution/exchange/concurrent.go:56 +0x9b
@fpetkovski
Copy link
Collaborator

Thanks for reporting this. Do you happen to know which query caused this?

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

2 participants