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

[dbnode] Use invariant error for flush errors to fail CI with flush errors in integration tests #2217

Merged
merged 3 commits into from
Mar 28, 2020

Conversation

robskillington
Copy link
Collaborator

What this PR does / why we need it:

This catches any flush errors that are introduced and occur during integration tests, since invariant errors will panic the CI tests.

Special notes for your reviewer:

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

@robskillington robskillington changed the title [dbnode] Fail builds with flush errors in integration tests [dbnode] Use invariant error for flush errors to fail CI with flush errors in integration tests Mar 18, 2020
@arnikola
Copy link
Collaborator

Looks like this is causing some integration tests to fail; should the fix for those go into this PR or separate?

@notbdu
Copy link
Contributor

notbdu commented Mar 25, 2020

@arnikola I'm looking at the errors.

notbdu added 2 commits March 27, 2020 23:03
* Wait for fs processes to finish before closing db.

* Only read data from disk when flushing index segments.
@codecov
Copy link

codecov bot commented Mar 28, 2020

Codecov Report

Merging #2217 into master will decrease coverage by 0.7%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #2217     +/-   ##
========================================
- Coverage    71.9%   71.1%   -0.8%     
========================================
  Files        1024    1021      -3     
  Lines       89726   88855    -871     
========================================
- Hits        64581   63254   -1327     
- Misses      20827   21258    +431     
- Partials     4318    4343     +25
Flag Coverage Δ
#aggregator 82% <ø> (+4.3%) ⬆️
#cluster 85.2% <ø> (+0.4%) ⬆️
#collector 82.8% <ø> (ø) ⬆️
#dbnode 76% <100%> (-3.3%) ⬇️
#m3em 74.4% <ø> (ø) ⬆️
#m3ninx 74.4% <ø> (ø) ⬆️
#m3nsch 51.1% <ø> (ø) ⬆️
#metrics 17.5% <ø> (ø) ⬆️
#msg 74.9% <ø> (ø) ⬆️
#query 68.9% <ø> (+0.7%) ⬆️
#x 83.2% <ø> (ø) ⬆️

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 02d1877...949c700. Read the comment docs.

@notbdu notbdu merged commit 8584d9a into master Mar 28, 2020
@notbdu notbdu deleted the r/fail-build-with-flush-erros branch March 28, 2020 20:51
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.

3 participants