Announcement

Collapse
No announcement yet.

How is rollback implemented?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How is rollback implemented?

    If VoltDB does command logging as opposed to effect logging (new, modified, original and delete data pages) how is rollback implemented? Is there an undo buffer with data rows? Seems tricky if a large number of rows are affected (UPDATE Product SET Price = Price * 1.1)

  • #2
    Reading "How VoltDB does transactions" right now: https://voltdb.com/sites/default/fil...ansactions.pdf

    "the program maintains in-memory undo logs so that aborted commands can
    roll back"

    Comment


    • #3
      There is an in-memory undo log for the current write transaction.

      Comment

      Working...
      X