Skip to content

auditor: a second Append for the same transaction re-runs attribution without the locks #2250

Description

@EvanYan1024

Raised in the review of #2199.

Append defers Release, which drops the audit record cached by Audit. A second Append for the same transaction — a retry, or an append after an explicit Release — finds no cached record, re-runs the gap filling, and can store an enrollment ID that was never locked, with the locks already gone.

Candidate directions: keep the cache entry until finality, or reject a second Append.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions