Skip to content

Commit

Permalink
Tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
zacw7 committed Oct 8, 2024
1 parent 6b290f6 commit 07b5346
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions velox/common/file/File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,12 @@ void LocalWriteFile::write(
VELOX_CHECK_EQ(
bytesWritten,
length,
"Failure in LocalWriteFile::write, {} vs {}",
"Failure in LocalWriteFile::write, {} vs {}, error: {}, offset: {}, count: {}",
bytesWritten,
length);
length,
strerror(errno),
offset,
static_cast<ssize_t>(iovecs.size()));
size_ = std::max<uint64_t>(size_, offset + bytesWritten);
}

Expand Down

0 comments on commit 07b5346

Please sign in to comment.