-
Notifications
You must be signed in to change notification settings - Fork 455
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] Fix early closing in lazy blocks #1985
Conversation
@@ -307,3 +306,24 @@ ATTEMPTS=3 TIMEOUT=1 retry_with_backoff render_carbon 9 14 max_fetch_series_limi | |||
ATTEMPTS=3 TIMEOUT=1 retry_with_backoff find_carbon 16 remote_store_cluster-c_complete_tags_warning | |||
ATTEMPTS=3 TIMEOUT=1 retry_with_backoff find_carbon 9 max_fetch_series_limit_applied,remote_store_cluster-c_complete_tags_warning | |||
|
|||
# NB (arnikola): following tests are unrelated to fanout but there's no good | |||
# testbed story yet; reported query execution errors will be added here and | |||
# migrated to a proper testbed when it becomes available. |
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.
Hm can we add common methods like write_metrics
to just common.sh
and add these to the prometheus/test.sh
perhaps (which can call the shared method)?
Seems a better place than the fanout test perhaps?
# testbed story yet; reported query execution errors will be added here and | ||
# migrated to a proper testbed when it becomes available. | ||
|
||
function func { |
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.
nit: Maybe we call this query_instant
to reflect it's doing an instant query vs range (little more clear than just func
perhaps).
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.
LGTM other than comments left about moving some things around
fdbef61
to
0c6a0fe
Compare
c73dd15
to
6c00f8a
Compare
Codecov Report
@@ Coverage Diff @@
## master #1985 +/- ##
=========================================
- Coverage 63.6% 63.6% -0.1%
=========================================
Files 1122 1122
Lines 106544 106545 +1
=========================================
- Hits 67808 67783 -25
- Misses 34405 34428 +23
- Partials 4331 4334 +3
Continue to review full report at Codecov.
|
What this PR does / why we need it:
Fixes a user issue reported in tag replace function
Does this PR introduce a user-facing and/or backwards incompatible change?:
Does this PR require updating code package or user-facing documentation?: