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: replace broken bloom filter #115

Merged
merged 2 commits into from
Feb 13, 2024
Merged

Conversation

saul-jb
Copy link
Contributor

@saul-jb saul-jb commented Feb 12, 2024

This PR fixes #113 by replacing the bloom filter with a slimmed down implementation that fixes the stack overflow error.

@tabcat
Copy link
Member

tabcat commented Feb 12, 2024

what is the bloom filter code for again? is this all being tested correctly?

@saul-jb
Copy link
Contributor Author

saul-jb commented Feb 12, 2024

what is the bloom filter code for? is this all being tested correctly?

The bloom filter was for the heads set reconciliation between peers. There are probably better ways of doing this but the bloom filter was a good start.

There are no tests for the filter itself yet, I'll add some soon.

@saul-jb
Copy link
Contributor Author

saul-jb commented Feb 12, 2024

Tests added - I think it should be good to go.

@tabcat tabcat merged commit 47c08dd into hldb:master Feb 13, 2024
3 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.

bug: bloom filter stack overflow
2 participants