Skip to content

In batch mode, pos delete may trigger oom #5955

@linfey90

Description

@linfey90

Feature Request / Improvement

We use a upsert table, then write data with flink batch mode. Of course there is no ck, the insertedRowMap
in BaseTaskWriter.java will be bigger and bigger,and the resource will not be released, so oom might happen.
method: BaseTaskWriter.write
PathOffset previous = insertedRowMap.put(copiedKey, pathOffset);
@openinx@rdblue
any advice can give me?
thanks!

Query engine

Flink

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions