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.
  • Loading branch information
abhijat committed Apr 12, 2024
1 parent 6a0fc2b commit 9aa7caf
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 @@ -106,7 +106,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 9aa7caf

Please sign in to comment.