Skip to content

Commit 88cdfd8

Browse files
committed
Revert "[VL] Sort by buffer size before evict partition buffers minSize (apache#10009)"
This reverts commit 31ff79f.
1 parent 6c6fe1e commit 88cdfd8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

cpp/velox/shuffle/VeloxHashShuffleWriter.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,6 @@ arrow::Result<int64_t> VeloxHashShuffleWriter::evictPartitionBuffersMinSize(int6
13881388
}
13891389
pidToSize.emplace_back(pid, partitionBufferSize_[pid]);
13901390
}
1391-
std::sort(pidToSize.begin(), pidToSize.end(), [&](const auto& a, const auto& b) { return a.second > b.second; });
13921391
if (!pidToSize.empty()) {
13931392
for (auto& item : pidToSize) {
13941393
auto pid = item.first;

0 commit comments

Comments
 (0)