[ 
https://issues.apache.org/jira/browse/SPARK-55338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-55338:
-----------------------------------
    Labels: pull-request-available  (was: )

> Centralize request decompression logic in gRPC interceptor
> ----------------------------------------------------------
>
>                 Key: SPARK-55338
>                 URL: https://issues.apache.org/jira/browse/SPARK-55338
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect
>    Affects Versions: 4.1.1
>            Reporter: Xi Lyu
>            Priority: Major
>              Labels: pull-request-available
>
> Previously, decompression logic was scattered across multiple handlers 
> (AnalyzePlanHandler, ExecutePlanHandler, and probably other handlers in the 
> future), with each handler responsible for decompressing its own compressed 
> requests. This approach made it difficult to maintain consistent 
> decompression behavior across different RPC types.
> We should introduce RequestDecompressionInterceptor as a gRPC interceptor 
> that handles decompression for all compressed requests before they reach 
> downstream to ensure Single Responsibility, so decompression logic will be in 
> one place, making it easier to maintain.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to