Skip to content

Commit

Permalink
cst: Downgrade error logs to debug
Browse files Browse the repository at this point in the history
Recently added error logs do not take into account sleep aborted and
other shutdown related errors. Since the logs print exception details
which are already logged down the call chain, and the new logs are for
debugging hang in chunk read path, the new logs are downgraded to debug
level in this change.

(cherry picked from commit 9aa7caf)
  • Loading branch information
abhijat authored and vbotbuildovich committed Apr 23, 2024
1 parent ecea599 commit ef6fec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/v/cloud_storage/segment_chunk_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ ss::future<segment_chunk::handle_t> segment_chunks::hydrate_chunk(
}
} catch (const std::exception& ex) {
vlog(
_ctxlog.error,
_ctxlog.debug,
"Failed to hydrate chunk start {}, error: {}",
chunk_start,
ex.what());
Expand Down
2 changes: 1 addition & 1 deletion src/v/cloud_storage/segment_chunk_data_source.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ss::future<> chunk_data_source_impl::load_stream_for_chunk(
} catch (...) {
eptr = std::current_exception();
vlog(
_ctxlog.error,
_ctxlog.debug,
"Hydrating chunk {} failed with error {}",
chunk_start,
eptr);
Expand Down

0 comments on commit ef6fec8

Please sign in to comment.