8000 Fix rollback and direct access issue by hanssv · Pull Request #4378 · aeternity/aeternity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix rollback and direct access issue #4378

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

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Fix rollback and direct access issue #4378

merged 1 commit into from
Jul 12, 2024

Conversation

hanssv
Copy link
Member
@hanssv hanssv commented Jul 9, 2024

See #4376 for manifestation. This fixes #4376.

The problem is not related to dev_mode, rather it is an issue when using direct DB access. There was a direct call to mnesia:delete in the logic for removing a transaction (used by rollback) - this broke when the system expected direct access. The fix is trivial. In the best of worlds we should have tests finding this (the devmode rollback tests expose the issue - if run with rocksdb and persistence, but normally they are not).

This PR is supported by Æternity Foundation.

@dincho dincho merged commit 46bddd3 into master Jul 12, 2024
38 checks passed
@dincho dincho deleted the fix_rollback_issue branch July 12, 2024 09:09
mitchelli pushed a commit that referenced this pull request Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
< 4CB7 /option>
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dev-mode rollback not working
3 participants
0