Skip to content

OnHeapSpillManager unexpectly runs into a deadlock #1803

@richox

Description

@richox

Describe the bug

In huge query with a lot of spills, OnHeapSpillManager may run into a deadlock, and the query hangs:

Image

this is caused by the following code, where a synchronized writing may trigger another synchronized spill:

Image

To Reproduce

Expected behavior

Screenshots

Additional context

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