Skip to content
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

Journal changes accross multiple transactions. Push/Pop transaction #1912

Open
rakita opened this issue Dec 14, 2024 · 0 comments
Open

Journal changes accross multiple transactions. Push/Pop transaction #1912

rakita opened this issue Dec 14, 2024 · 0 comments

Comments

@rakita
Copy link
Member

rakita commented Dec 14, 2024

Journaling changes across multiple transactions can be very beneficial as transaction with a Journal can be reverted.

  • Need to handle hot/cold marker of account (Idea make a bool flag a u32, and increment global marker N by one when new tx starts, so N would make it warm while < N would make it cold).
  • Remove some cleanup in PostExecution handler.
  • Add an interface that would push and pop transactions.
  • Handle error state and recovery after it. Should we revert all changes automatically or leave for the caller to do it?
  • Add close block function so the output of multiple transaction executions can be delivered.
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

No branches or pull requests

1 participant