Skip to content

Commit

Permalink
print detail
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteYue committed Nov 25, 2023
1 parent 6770a82 commit 4aedf66
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions be/src/io/fs/buffered_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,10 @@ void PrefetchBuffer::prefetch_buffer() {
return;
}
if (!s.ok() && _offset < _reader->size()) {
// We should print the error msg since this buffer might not be accessed by the consumer
// which would result in the status being missed
LOG_WARNING("prefetch path {} failed, offset {}, error {}", _reader->path().native(), _offset,
s.to_string());
_prefetch_status = std::move(s);
}
_buffer_status = BufferStatus::PREFETCHED;
Expand Down

0 comments on commit 4aedf66

Please sign in to comment.