Skip to content

Serialisation of committed transactions is unsafe #338

Description

At it stands, when serialise() is called when a transaction is committed (tx.commit()), we assume that the serialisation cannot fail (or if it does, we throw a specific error that should be caught by the caller (i.e. frontend.h) to abort the processing of transactions immediately.

Instead, we should recover safely, e.g. rolling back the store to the before the transaction was committed and returning a specific error message.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions