Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-684] BufferedOutputStream causes massive futex system calls #685

Merged
merged 1 commit into from
Jan 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion native-sql-engine/cpp/src/shuffle/splitter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ arrow::Status Splitter::Stop() {
ARROW_ASSIGN_OR_RAISE(fout,
arrow::io::FileOutputStream::Open(options_.data_file, true));
if (options_.buffered_write) {
ARROW_ASSIGN_OR_RAISE(data_file_os_, arrow::io::BufferedOutputStream::Create(
ARROW_ASSIGN_OR_RAISE(data_file_os_, arrow::io::UnlockedBufferedOutputStream::Create(
16384, options_.memory_pool, fout));
} else {
data_file_os_ = fout;
Expand Down