Skip to content

Fix race condition in unchecked_map#4093

Merged
clemahieu merged 1 commit intonanocurrency:developfrom
clemahieu:unchecked_map_race
Feb 1, 2023
Merged

Fix race condition in unchecked_map#4093
clemahieu merged 1 commit intonanocurrency:developfrom
clemahieu:unchecked_map_race

Conversation

@clemahieu
Copy link
Copy Markdown
Contributor

Fix race condition in unchecked_map where a block may be asynchronously inserted and a dependency satisfied while a block is waiting to be placed in the unchecked table.

This change checks if the dependency has been satisfied before placing it in the unchecked map.

…ly inserted and a dependency satisfied while a block is waiting to be placed in the unchecked table.

This change checks if the dependency has been satisfied before placing it in the unchecked map.
@clemahieu clemahieu added this to the V25.0 milestone Jan 31, 2023
@clemahieu clemahieu added the bug label Jan 31, 2023
@clemahieu clemahieu merged commit a1e359b into nanocurrency:develop Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants