-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloud_storage: Log client address in batch parser #14957
cloud_storage: Log client address in batch parser #14957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
vlog(_ctxlog.debug, "remote_segment_batch_reader::stop"); | ||
vlog( | ||
_ctxlog.debug, | ||
"remote_segment_batch_reader::stop: {}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit, to have the same structure of the other logs
"remote_segment_batch_reader::stop: {}", | |
"[{}] remote_segment_batch_reader::stop", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, fixed both
vlog(_ctxlog.debug, "remote_segment_batch_reader::stop - parser-close"); | ||
vlog( | ||
_ctxlog.debug, | ||
"remote_segment_batch_reader::stop - parser-close: {}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit, same as above
"remote_segment_batch_reader::stop - parser-close: {}", | |
"[{}] remote_segment_batch_reader::stop - parser-close", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
9b097b0
to
f81ee32
Compare
The client address is added to the remote segment batch parser logs. The address cannot be set as a member because a remote segment reader may be cached and have its configuration reset. The client address is always read from the configuration to make sure we get the latest address. (cherry picked from commit 0996d4f)
f81ee32
to
e4de1ce
Compare
/backport v23.2.x |
new failures in https://buildkite.com/redpanda/redpanda/builds/41078#018bcd30-f580-4166-93df-4c82eab37ae5:
|
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/41078#018bcd30-f580-4166-93df-4c82eab37ae5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
The client address is added to the remote segment batch parser logs. The address cannot be set as a member because a remote segment reader may be cached and have its configuration reset. The client address is always read from the configuration to make sure we get the latest address.
Backports Required
Release Notes