Skip to content

Fix database iterator-transaction lifetimes#4713

Merged
clemahieu merged 8 commits intonanocurrency:developfrom
pwojcikdev:iterator-transaction-lifetimes
Aug 27, 2024
Merged

Fix database iterator-transaction lifetimes#4713
clemahieu merged 8 commits intonanocurrency:developfrom
pwojcikdev:iterator-transaction-lifetimes

Conversation

@pwojcikdev
Copy link
Copy Markdown
Contributor

This adds debug assertions that ensure database iterators can't be used after their corresponding transaction gets committed / released.

The nano::node::collect_ledger_pruning_targets () is still triggering the assert, so I invite someone to have a look at it.

@clemahieu clemahieu merged commit cb8c901 into nanocurrency:develop Aug 27, 2024
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