-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes deterministic crash that's node ID dependent (#647)
We had a deterministic crash in the alias allocator that was triggered based on the exact bit pattern of the NodeID. This PR fixes the crash, and adds a unit test that verifies that we can successfully allocate a full cycle of 4096 aliases. === * Fix crash in alias allocator when the generator sequence hits the zero alias. * Adds regression test for aliases crashing the node dependeing on node ID.
- Loading branch information
1 parent
e5796e2
commit ab5cee2
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters