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

Debug code + hack to check for tchannel client side bug #749

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

argouber
Copy link
Contributor

@argouber argouber commented Dec 8, 2020

An issue we ran into got us to suspect that the tchannel call was successful, but the "success" flag was not being set by the client call in some cases. Adding a print to catch the event and then treat it as successful.
We will remove this code once the issue is root-caused.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 69.246% when pulling 2fcca55 on argo/debug-tchan-error into dd4e7fb on master.

@smb158
Copy link
Contributor

smb158 commented Dec 8, 2020

Can we emit a metric when this happens? Maybe including the client name as well

@argouber argouber merged commit d266f46 into master Dec 8, 2020
@@ -412,6 +412,9 @@ func (c *bazClient) EchoBinary(

if err == nil && !success {
switch {
case result.Success != nil:
logger.Error("Internal error. Success flag is not set for EchoBinary. Overriding")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARN perhaps and not really an error.

Copy link
Contributor

@rpatali rpatali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, given the temporary nature of the log line anyway.

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.

4 participants