Skip to content

exportPayload(id:) might cause race conditions #59

@vakhidbetrakhmadov

Description

@vakhidbetrakhmadov

Hi,

Attachment ids are not unique, and from what i have observed, are actually the same for attachments with the same content.

Taking this into account, if there are 2 concurrent invocations to exportPayload(id:) for the same id, with current implementation there will be a race condition.

We use Bazel, and we currently observe this problem in our a custom test runner when running tests in parallel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions