Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Shadow WAL: truncate on rollback #428

Open
@MarinPostma

Description

@MarinPostma

With #423, uncommitted transactions can be written to the shadow wal and potentially rolled back. The current implementation does not truncate the file if that happens. A small optimization could be to truncate the file occasionally if we detect that it contains too much garbage. Failing to truncate the file should not fail the rollback: it must remain an infallible operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions