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
crud intergration tests: docidcache-centric #1613
Conversation
Latency summaryCurrent PR yields:
Breakdown
Backed by latency-tracking. Further commits will update this comment. |
Now that I think, DocIDCache does not seem to be a proper name for a class that can cache based on content hash. I think this needs to be renamed DocCache. |
I'll open a PR to refactor it everywhere and then will rebase |
4295a92
to
3208f86
Compare
3208f86
to
ca78058
Compare
555d918
to
63034b7
Compare
63034b7
to
b5952c1
Compare
b5952c1
to
73a21a8
Compare
Codecov Report
@@ Coverage Diff @@
## master #1613 +/- ##
==========================================
- Coverage 85.03% 84.82% -0.21%
==========================================
Files 133 133
Lines 6822 6828 +6
==========================================
- Hits 5801 5792 -9
- Misses 1021 1036 +15
Continue to review full report at Codecov.
|
73a21a8
to
7b9706f
Compare
6a46ace
to
d00290e
Compare
Problem seems to be that |
b3cde76
to
f79a765
Compare
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.
Just a minor thing,
However, I still think we should think how to better test for the index size without having such a complex code for testing
f79a765
to
317124c
Compare
I agree that the engineering of the tests shouldn't be so complex. But on the other hand, as an advantage, we can see more clearly how changing some parameters in the cache would affect the size / output of the indexers. Having them as separate tests, with hard-coded apparently magic numbers, would have made the behavior more opaque. |
Main integration tests for CRUD, focusing on using the new DocIDCache functionality
UniquePbIndexer
andUniqueVectorIndexer
do not supportdelete
andupdate