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

Fix a subtle bug in CompressedExternalIdTableSorter #1328

Merged
merged 3 commits into from
Apr 17, 2024

Conversation

joka921
Copy link
Member

@joka921 joka921 commented Apr 17, 2024

Under certain (rare) conditions, CompressedExternalIdTableSorter::sortedBlocks produced empty blocks, which led to an exception. This is now fixed. Also make sure that an exception in the building of a permutation pair does not result in a deadlock anymore (as it did for the bug just mentioned), but in a proper error message.

Copy link

codecov bot commented Apr 17, 2024

Codecov Report

Attention: Patch coverage is 71.42857% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 88.67%. Comparing base (6130f5d) to head (89c553b).
Report is 1 commits behind head on master.

Files Patch % Lines
src/engine/idTable/CompressedExternalIdTable.h 66.66% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1328      +/-   ##
==========================================
+ Coverage   88.37%   88.67%   +0.30%     
==========================================
  Files         316      321       +5     
  Lines       28440    28514      +74     
  Branches     3138     3140       +2     
==========================================
+ Hits        25133    25286     +153     
+ Misses       2168     2090      -78     
+ Partials     1139     1138       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Johannes Kalmbach <[email protected]>
Copy link
Member

@hannahbast hannahbast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks a lot for this fix!

@hannahbast hannahbast changed the title Fix a small but subtle bug in the IndexBuilder Fix a small but subtle bug in the index builder Apr 17, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@hannahbast hannahbast changed the title Fix a small but subtle bug in the index builder Fix a subtle bug in CompressedExternalIdTableSorter Apr 17, 2024
@hannahbast hannahbast merged commit c562e91 into ad-freiburg:master Apr 17, 2024
18 of 19 checks passed
@joka921 joka921 deleted the fix-stall-lindas branch December 18, 2024 09:52
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