-
Notifications
You must be signed in to change notification settings - Fork 453
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
Fix race/panic in index query code #1356
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1356 +/- ##
========================================
+ Coverage 70.7% 70.7% +<.1%
========================================
Files 822 822
Lines 70333 70335 +2
========================================
+ Hits 49778 49789 +11
+ Misses 17320 17312 -8
+ Partials 3235 3234 -1
Continue to review full report at Codecov.
|
2 similar comments
Codecov Report
@@ Coverage Diff @@
## master #1356 +/- ##
========================================
+ Coverage 70.7% 70.7% +<.1%
========================================
Files 822 822
Lines 70333 70335 +2
========================================
+ Hits 49778 49789 +11
+ Misses 17320 17312 -8
+ Partials 3235 3234 -1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #1356 +/- ##
========================================
+ Coverage 70.7% 70.7% +<.1%
========================================
Files 822 822
Lines 70333 70335 +2
========================================
+ Hits 49778 49789 +11
+ Misses 17320 17312 -8
+ Partials 3235 3234 -1
Continue to review full report at Codecov.
|
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
@@ -248,6 +274,8 @@ func testNamespaceIndexHighConcurrentQueries( | |||
rangeEnd := blockStarts[k].Add(test.indexBlockSize) | |||
|
|||
ctx := context.NewContext() | |||
defer ctx.Close() |
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.
Really shouldn't defer from within a for loop, but.. ok haha.
No description provided.