Skip to content

Commit

Permalink
change vlog to dlog
Browse files Browse the repository at this point in the history
  • Loading branch information
marin-ma committed Jun 11, 2024
1 parent d3bd3d7 commit 356244c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/velox/shuffle/VeloxHashBasedShuffleWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -858,8 +858,8 @@ uint32_t VeloxHashBasedShuffleWriter::calculatePartitionBufferSize(
memLimit > 0 && bytesPerRow > 0 ? memLimit / bytesPerRow / numPartitions_ >> 2 : options_.bufferSize;
preAllocRowCnt = std::min(preAllocRowCnt, (uint64_t)options_.bufferSize);

VLOG(9) << "Calculated partition buffer size - memLimit: " << memLimit << ", bytesPerRow: " << bytesPerRow
<< ", preAllocRowCnt: " << preAllocRowCnt << std::endl;
DLOG(INFO) << "Calculated partition buffer size - memLimit: " << memLimit << ", bytesPerRow: " << bytesPerRow
<< ", preAllocRowCnt: " << preAllocRowCnt << std::endl;

VS_PRINTLF(preAllocRowCnt);

Expand Down Expand Up @@ -1400,7 +1400,7 @@ arrow::Result<uint32_t> VeloxHashBasedShuffleWriter::partitionBufferSizeAfterShr
arrow::Status VeloxHashBasedShuffleWriter::preAllocPartitionBuffers(uint32_t preAllocBufferSize) {
for (auto& pid : partitionUsed_) {
auto newSize = std::max(preAllocBufferSize, partition2RowCount_[pid]);
VLOG_IF(9, partitionBufferSize_[pid] != newSize)
DLOG_IF(INFO, partitionBufferSize_[pid] != newSize)
<< "Actual partition buffer size - current: " << partitionBufferSize_[pid] << ", newSize: " << newSize
<< std::endl;
// Make sure the size to be allocated is larger than the size to be filled.
Expand Down

0 comments on commit 356244c

Please sign in to comment.