Skip to content

Fix bloom filter #521

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

Merged
merged 5 commits into from
Jun 20, 2025
Merged

Fix bloom filter #521

merged 5 commits into from
Jun 20, 2025

Conversation

ColinLeeo
Copy link
Contributor

@ColinLeeo ColinLeeo commented Jun 20, 2025

In this pr:
Fixed an exception where a malformed Bloom filter generated in Win C++ caused failure to load into IoTDB.

void set(int32_t pos) {
    int32_t word_idx = pos / 64;
    int32_t word_offset = pos % 64;
    words_[word_idx] |= (1ull << word_offset);
  ------------------------^--------
}

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.78%. Comparing base (caa77ac) to head (1bc1da2).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #521      +/-   ##
===========================================
- Coverage    65.79%   65.78%   -0.01%     
===========================================
  Files          566      566              
  Lines        33441    33437       -4     
  Branches      4691     4688       -3     
===========================================
- Hits         22002    21997       -5     
- Misses       10788    10789       +1     
  Partials       651      651              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ColinLeeo ColinLeeo merged commit 04eb621 into develop Jun 20, 2025
13 checks passed
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