Skip to content
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

[v23.2.x] cloud_storage: Add client address to fetch and log reader config #14952

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #14821

When shutting down connection due to either the abort source being
triggered, or during normal stop, log the peer address at trace level to
assist in troubleshooting.

(cherry picked from commit 9c74682)
The client address for a connection is added into fetch config. This
allows the downstream remote partition code paths to use the client
address as an identifier during logging. The client address is
optional.

(cherry picked from commit 4765c7a)
The log reader config is extended to contain the client address. This
allows the remote partition code paths to use the client address while
logging, enabling identification of consumers from the kafka layer.

(cherry picked from commit bd854a7)
At several points in remote partition such as creating a reader, waiting
for units, initializing a cursor, the config is logged. The client
address is part of this config so it should now be possible to take a
stuck connection and be able to trace its current state somewhat more
precisely than solely based on log offsets.

(cherry picked from commit a499be7)
@vbotbuildovich vbotbuildovich added this to the v23.2.x-next milestone Nov 14, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Nov 14, 2023
@abhijat abhijat marked this pull request as ready for review November 14, 2023 03:03
@piyushredpanda piyushredpanda modified the milestones: v23.2.x-next, v23.2.16 Nov 14, 2023
@abhijat
Copy link
Contributor

abhijat commented Nov 14, 2023

@abhijat
Copy link
Contributor

abhijat commented Nov 14, 2023

@piyushredpanda piyushredpanda merged commit 315cb04 into redpanda-data:v23.2.x Nov 14, 2023
22 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants