Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Max bytes read limit #8670
Max bytes read limit #8670
Changes from 47 commits
91e7206
1f81aea
77895e8
1e2fc1b
f149835
2043438
94f941b
0aea9e1
4780298
798313a
4aa7a34
2a1df3e
1674e67
648589e
aaf90e5
c9c8610
75b1d54
af1c0d2
a024f95
db3fc7c
e3eb162
d57b79b
d5665f2
7bc5eaf
8c26b1e
1818e8d
877e39e
5d87192
deeca4a
43d96bc
ddce6aa
350e15c
226a076
28c27fa
954407e
3d2fff3
1704c5c
9b8aa08
77b046f
ff84730
c350297
f1ba7eb
8ec053c
f422e0a
54ec3ba
4f11f25
c482fe9
db98d7c
8515b43
cfcc4e4
6661d30
9c62ef7
17bed47
5a591b3
10f5a43
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should try to get this from the appropriate config instead of by creating a new engine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can reuse
ShardingConfigs
here. We can actually extend that functionality in the case there are multiple period configs in the query and they all are tsdb (and have theIndexStats
support).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done with c9c8610.
I don't know what you mean by this. If two consecutive PeriodConfig are TSDB, combine them into a new PeriodConfig with a
From
andInterval
adjusted to cover both original periods?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave it for a followup PR but yes. The idea is we can shard requests across two different TSDB schemas
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add a log line for this so we can see the limits, what the request shows, and whether it's rejected or accepted. We can then build metric queries from this line to better understand behavior
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Few things:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's easier to print it on success and failure so we can compare with less effort. Something like
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. Done with 6661d30.