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

[query] Fix early closing in lazy blocks #1985

Merged
merged 5 commits into from
Oct 15, 2019
Merged

Conversation

arnikola
Copy link
Collaborator

@arnikola arnikola commented Oct 6, 2019

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?:

None

Does this PR require updating code package or user-facing documentation?:

None

@arnikola arnikola changed the base branch from master to arnikola/fanout-integration-tests October 6, 2019 17:35
@@ -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.
Copy link
Collaborator

@robskillington robskillington Oct 6, 2019

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 {
Copy link
Collaborator

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).

Copy link
Collaborator

@robskillington robskillington left a 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

@arnikola arnikola changed the base branch from arnikola/fanout-integration-tests to master October 11, 2019 02:07
@arnikola arnikola force-pushed the arnikola/fix-tag-funcs branch from c73dd15 to 6c00f8a Compare October 15, 2019 13:48
@codecov
Copy link

codecov bot commented Oct 15, 2019

Codecov Report

Merging #1985 into master will decrease coverage by <.1%.
The diff coverage is 100%.

Impacted file tree graph

@@            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
Flag Coverage Δ
#aggregator 79.7% <ø> (-0.1%) ⬇️
#cluster 56.3% <ø> (ø) ⬆️
#collector 63.7% <ø> (ø) ⬆️
#dbnode 65% <ø> (-0.1%) ⬇️
#m3em 59.6% <ø> (ø) ⬆️
#m3ninx 61.1% <ø> (-0.1%) ⬇️
#m3nsch 51.1% <ø> (ø) ⬆️
#metrics 17.7% <ø> (ø) ⬆️
#msg 74.7% <ø> (ø) ⬆️
#query 68.6% <100%> (-0.1%) ⬇️
#x 75% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c6a0fe...9f59039. Read the comment docs.

@arnikola arnikola merged commit b267303 into master Oct 15, 2019
@arnikola arnikola changed the title Arnikola/fix tag funcs [query] Fix early closing in lazy blocks Oct 16, 2019
@arnikola arnikola deleted the arnikola/fix-tag-funcs branch October 16, 2019 13:04
@arnikola arnikola restored the arnikola/fix-tag-funcs branch October 16, 2019 13:44
@arnikola arnikola deleted the arnikola/fix-tag-funcs branch October 16, 2019 13:45
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

Successfully merging this pull request may close these issues.

2 participants