-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
"Query does not fit in a single sharding configuration" after changing schema to TSDB #10771
Comments
I think I can add some comments on this. I updated the version from 2.8 to 2.9.1, to use the multi-store index-support concept. Previously I was already using TSDB Shipper and this error was not caused. So I believe that this correlation with the problem is not explicitly correlated with the inclusion of TSDB, but rather with the update to version 2.9. loki/pkg/querier/queryrange/limits.go Line 358 in 3038170
|
How are your configurations related to
|
|
i'm also facing the same issue post migration to TSDB. i'm using loki 2.8.2 |
I am also seeing the reported error message with Loki 2.9.3 and a changed schema. It seems, except this error message, that the query results are fine nevertheless. Looking into the code and the description in pull request #9050 which introduced it, helps to better understand it. @trevorwhitney can you confirm this that this is not an issue in the described scenario? |
We saw the same error today (should it be a warning?) after change from v12 to v13 in preparation for Loki 3.0: - from: 2024-04-25
store: tsdb
object_store: gcs
schema: v13
index:
prefix: loki_index_
period: 24h |
This should probably be a warning level log message |
Describe the bug
After changing schema config from boltdb-shipper to TSDB we get the following errors in the logs when we do a query.
ts=2023-10-03T07:45:36.818777014Z caller=spanlogger.go:86 user=fake level=error msg="failed to get schema config, not applying querySizeLimit" err="Query does not fit in a single sharding configuration"
ts=2023-10-03T07:45:36.818998318Z caller=spanlogger.go:86 middleware=QueryShard.astMapperware org_id=fake traceID=4a4b53d9c04c37e4 org_id=fake traceID=4a4b53d9c04c37e4 level=warn err="Query does not fit in a single sharding configuration" msg="skipped AST mapper for request"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Loki to run without errors
Environment:
Relevant Config:
The text was updated successfully, but these errors were encountered: