Skip to content

[core][bug]Default IOManagerImpl does not clean spill folders in tempDirs when write-buffer-spillable=true #7664

@lebron-hj

Description

@lebron-hj

Search before asking

  • I searched in the issues and found nothing similar.

Paimon version

After paimon is configured with write-buffer-spillable=true, for write-buffer-spill.max-disk-size, the default implementation is IOManagerImpl. During the process of writing to the paimon table, is the spill folder generated under tempDirs not cleaned up

Compute Engine

JavaAPI

Minimal reproduce step

1、create writer:
IOManager ioManager = IOManager.create(splitPaths(tmpDirs));
return (StreamTableWrite) writeBuilder.newWrite().withIOManager(ioManager);
2、writer.close
3、look tmpDirs

What doesn't meet your expectations?

tmpDirs exists Expired and useless directories

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions