Commits


mwish authored and GitHub committed f7286a95304
GH-38884: [C++] DatasetWriter release rows_in_flight_throttle when allocate 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>