Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.

Rollback to Savepoints #144

Open
tsutomi opened this issue Mar 25, 2016 · 0 comments
Open

Rollback to Savepoints #144

tsutomi opened this issue Mar 25, 2016 · 0 comments

Comments

@tsutomi
Copy link
Member

tsutomi commented Mar 25, 2016

The journaled storage system (in development and testing) supports logging commands about resource modifications and data modifications.
At the present moment, anyway, it is not possible to ROLLBACK to a given commit (save-point), because this would mean reverting all the commands until that point, reconstructing the storage, by issuing the reverted commands.

The idea is to support

  • the extension of the COMMIT and ROLLBACK to include a name of the work to commit or rollback to (eg. COMMIT 'save1' or ROLLBACK 'save1')
  • revert logged commands to construct the current state of the database
  • truncate all the modifications following the save point restored
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

1 participant