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

WireLength is not set on the stats.InPayload used as input to stats.Handler.HandleRPC() #2692

Closed
jDamgaard opened this issue Mar 15, 2019 · 0 comments · Fixed by #2711 or #2932
Closed

Comments

@jDamgaard
Copy link

Since this commit (part of the v1.17.0 release), the WireLength field on the stats.InPayLoad struct that is passed to stats.Handler.HandleRPC() is no longer set.

The InPayload struct still contains the WireLength field, and the comments indicates it is expected to be set.
The field used to be populated on the inPayload struct passed to recv in stream.go, but that struct is no longer the one returned, and the field is not populated on the struct that is returned link to code

ajwerner added a commit to ajwerner/grpc-go that referenced this issue Jul 24, 2019
Fixes grpc#2692 which was incompletely fixed by grpc#2711.

Also adds a basic unit test which provides scaffolding for further testing of
the stats logic.
ajwerner added a commit to ajwerner/grpc-go that referenced this issue Jul 24, 2019
Fixes grpc#2692 which was incompletely fixed by grpc#2711.

Also adds a basic unit test which provides scaffolding for further testing of
the stats logic.
ajwerner added a commit to ajwerner/grpc-go that referenced this issue Jul 24, 2019
Fixes grpc#2692 which was incompletely fixed by grpc#2711.

Also adds updates stats/stat_test.go to sanity check WireLength.
menghanl pushed a commit that referenced this issue Jul 24, 2019
Fixes #2692 which was incompletely fixed by #2711.

Also adds updates stats/stat_test.go to sanity check WireLength.
ajwerner added a commit to ajwerner/grpc-go that referenced this issue Jul 25, 2019
)

Fixes grpc#2692 which was incompletely fixed by grpc#2711.

Also adds updates stats/stat_test.go to sanity check WireLength.
menghanl pushed a commit that referenced this issue Jul 25, 2019
Fixes #2692 which was incompletely fixed by #2711.

Also adds updates stats/stat_test.go to sanity check WireLength.
menghanl pushed a commit that referenced this issue Jul 25, 2019
Fixes #2692 which was incompletely fixed by #2711.

Also adds updates stats/stat_test.go to sanity check WireLength.
@lock lock bot locked as resolved and limited conversation to collaborators Sep 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant