Skip to content

Logically incorrect await statement could cause deadlock at some point #1305

@sdd

Description

@sdd

Apache Iceberg Rust version

None

Describe the bug

We're awaiting on a spawned task that should proceed concurrently rather than being awaited upon. This could cause deadlock at some point (I experienced this whilst working on #1011 and thought it best to backport the fix).

To Reproduce

No response

Expected behavior

No response

Willingness to contribute

I can contribute a fix for this bug independently

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions