Skip to content

temp_tag / update_await can return before redb commit #216

Description

@cbenhagen

add_bytes → temp_tag().await can succeed while the meta DB still has the update only in an uncommitted ReadWrite batch (handle_update signals the oneshot before tx.commit()). Abrupt process exit right after that can lose the row; reload + get_bytes fails.

Downstream: iroh-docs#78.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    👍 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions