Skip to content

xds: Ext proc client drop backend_service metrics label, make eos_without_message conditional on eos field - #13028

Open
kannanjgithub wants to merge 6 commits into
grpc:masterfrom
kannanjgithub:ext-proc-client
Open

xds: Ext proc client drop backend_service metrics label, make eos_without_message conditional on eos field#13028
kannanjgithub wants to merge 6 commits into
grpc:masterfrom
kannanjgithub:ext-proc-client

Conversation

@kannanjgithub

Copy link
Copy Markdown
Contributor

Implementing dropping backend_service metrics label, and the discrepancy with the gRFC in end_of_stream_without_message handling. The code treats this field independently, but as per the gRFC it should be only be considered when the end_of_stream field is true. This applies both in ProcessingRequest and ProcessingResponse.

Remove redundant isCompleted check from isSidecarReady and null checks from recordDuration.

TAG=agy
CONV=9ea901ca-a127-468c-a836-414f2154bf85
The ext_proc spec has been updated to drop adding the backend_service
metric label.

TAG=agy
CONV=86c74ebe-9fd7-4876-b27c-a4c1b230d346
# Conflicts:
#	xds/src/main/java/io/grpc/xds/ExternalProcessorClientInterceptor.java
#	xds/src/test/java/io/grpc/xds/ExternalProcessorClientInterceptorTest.java
…aster merge

- Drop backend_service metric label from ExternalProcessorClientInterceptor.
- Set end_of_stream on client half-close alongside end_of_stream_without_message.
- Handle end_of_stream_without_message per ext_proc spec on StreamedBodyResponse.
- Update tests and mocks to reflect the updated half-close semantics.

TAG=agy
CONV=86c74ebe-9fd7-4876-b27c-a4c1b230d346
TAG=agy
CONV=86c74ebe-9fd7-4876-b27c-a4c1b230d346
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.

1 participant