Skip to content

[C++] DatasetWriter cleanup resource when not able to write #38884

@mapleFU

Description

@mapleFU

Describe the enhancement requested

The DatasetWriterFileQueue::WriteNext will write-batch and Release the chunk-size. However, if the file-size is too large, DoWriteRecordBatch will failed to open file or close a file, which causing chunk-size resource leak, causing the deadlock

Component(s)

C++

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions