Skip to content

Fixed bug in the shard initialization w/ multi-port#792

Merged
zakird merged 3 commits intomainfrom
phillip/multi-port-shard-bug
Feb 24, 2024
Merged

Fixed bug in the shard initialization w/ multi-port#792
zakird merged 3 commits intomainfrom
phillip/multi-port-shard-bug

Conversation

@phillip-stephens
Copy link
Contributor

@phillip-stephens phillip-stephens commented Feb 24, 2024

While working on the integration test PR, I noticed my tests around multiple ports were intermittently failing. After some investigation, I believe this is the fix. This just adds the check already present in shard_get_next_target here to the shard_roll_to_valid.

My tests pass after this fix.

@phillip-stephens phillip-stephens added this to the ZMap 4.1 milestone Feb 24, 2024
@phillip-stephens phillip-stephens marked this pull request as ready for review February 24, 2024 01:07
@phillip-stephens
Copy link
Contributor Author

phillip-stephens commented Feb 24, 2024

@zakird I'm not too familiar with the sharding code, but this fix seems reasonable IMO, wdyt?

@zakird zakird merged commit eedfd51 into main Feb 24, 2024
@zakird zakird deleted the phillip/multi-port-shard-bug branch February 24, 2024 17:00
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