You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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++
The text was updated successfully, but these errors were encountered:
…locate writing failed (#38885)
### Rationale for this change
When file-queue is fall or write failed, the `DatasetWriterImpl::DoWriteRecordBatch` might failed, however, the resources are not released.
### What changes are included in this PR?
When file-queue is full or cannot open file, release the `row` resources.
### Are these changes tested?
yes
### Are there any user-facing changes?
no
* Closes: #38884
Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…hen allocate writing failed (apache#38885)
### Rationale for this change
When file-queue is fall or write failed, the `DatasetWriterImpl::DoWriteRecordBatch` might failed, however, the resources are not released.
### What changes are included in this PR?
When file-queue is full or cannot open file, release the `row` resources.
### Are these changes tested?
yes
### Are there any user-facing changes?
no
* Closes: apache#38884
Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
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 deadlockComponent(s)
C++
The text was updated successfully, but these errors were encountered: