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

replace the logstats RemoteAddr with a more inclusive CallInfo #4422

Merged
merged 1 commit into from
Dec 16, 2018

Conversation

demmer
Copy link
Member

@demmer demmer commented Dec 5, 2018

Previously, the gRPC method was not included in the tablet query logs
which made debugging an ExecuteBatch vs Execute issue challenging.

To address this, replace the existing RemoteAddr hook with the more
generic CallInfo.Text() result that includes both the remote addr and the
method in the case of gRPC.

Previously, the gRPC method was not included in the tablet query logs
which made debugging an ExecuteBatch vs Execute issue challenging.

To address this, replace the existing RemoteAddr hook with the more
generic CallInfo.Text() result that includes both the remote addr and the
method in the case of gRPC.

Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
@demmer demmer requested a review from sougou as a code owner December 5, 2018 05:18
@rafael
Copy link
Member

rafael commented Dec 5, 2018

This LGTM. 👍

@sougou sougou merged commit 4e6d1e8 into vitessio:master Dec 16, 2018
frouioui added a commit to planetscale/vitess that referenced this pull request Mar 26, 2024
… rule query rewrite (vitessio#4422)

* backport of 4419

* fix DML routed queries

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>

---------

Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Co-authored-by: Florent Poinsard <florent.poinsard@outlook.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants