You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The panic you're experiencing is likely due to an 'index out of range' error in the AnalyzesMerge function within the queryrange package. This function can cause such a panic when the length of elements is greater than the length of rootElements. The issue arises because the loop iterates over the minimum length of elements and rootElements, but the line rootElements[i].ExecutionTime += analysis[i].ExecutionTime incorrectly uses analysis[i] instead of elements[i]. If analysis has fewer elements than elements, it will result in an 'index out of range' panic [1].
To resolve this, you would need to ensure that the correct index is used in the loop to prevent accessing out-of-bounds elements. This might involve modifying the code to correctly reference elements[i] instead of analysis[i].
Thanos, Prometheus and Golang version used:
thanos container 0.37.2 deployed from helm 15.9.2
Object Storage Provider:
s3
What happened:
Query service seemed to panic out of nowhere
What you expected to happen:
Not to panic.
How to reproduce it (as minimally and precisely as possible):
unsure, this seems like a simple range check error
Full logs to relevant components:
Anything else we need to know:
The text was updated successfully, but these errors were encountered: