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

Do not skip elements >= (1 << 48) w/o checking for sentinel #814

Merged
merged 1 commit into from Mar 9, 2024

Conversation

droe
Copy link
Contributor

@droe droe commented Mar 8, 2024

Fixes issue where scan would not terminate when one of the sentinel values is outside the 48 bit range (shard->params.last >= (1 << 48)). This can only happen with the largest group (p: 2^48 + 23) and would be more likely to happen with many threads / shards.

Testing performed:

  • test/test-shard.sh and test/test_big_group.sh still succeed
  • smoke tested with a couple of scans

Possibly root cause of #809.

Fixes issue where scan would not terminate when one of the sentinel
values is outside the 48 bit range (shard->params.last >= (1 << 48)).
@zakird zakird merged commit 8a2583d into zmap:main Mar 9, 2024
11 checks passed
@droe droe deleted the droe/fix-shard-sentinel branch March 11, 2024 08:01
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.

None yet

2 participants