[
https://issues.apache.org/jira/browse/HDDS-16529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chu Cheng Li updated HDDS-16529:
--------------------------------
Description:
{{HadoopRpcOMFollowerReadFailoverProxyProvider}} routes requests through
{{InvocationHandler.invoke(Object, Method, Object[])}} and reflection, even
though the OM protocol provides a typed {{submitRequest}} method.
Replace the reflective wrapper with a concrete {{OzoneManagerProtocolPB}}
implementation to improve compile-time type checking. Preserve retry behavior,
lazy connections, cleanup, and read consistency hints across failover.
was:
{{HadoopRpcOMFollowerReadFailoverProxyProvider}} routes requests through
{{InvocationHandler.invoke(Object, Method, Object[])}} and reflection, even
though the OM protocol provides a typed `submitRequest` method.
Replace the reflective wrapper with a concrete {{OzoneManagerProtocolPB}}
implementation to improve compile-time type checking. Preserve retry behavior,
lazy connections, cleanup, and read consistency hints across failover.
> Replace reflective OM follower routing with typed dispatch
> ----------------------------------------------------------
>
> Key: HDDS-16529
> URL: https://issues.apache.org/jira/browse/HDDS-16529
> Project: Apache Ozone
> Issue Type: Improvement
> Components: common
> Reporter: Chu Cheng Li
> Assignee: Chu Cheng Li
> Priority: Major
>
> {{HadoopRpcOMFollowerReadFailoverProxyProvider}} routes requests through
> {{InvocationHandler.invoke(Object, Method, Object[])}} and reflection, even
> though the OM protocol provides a typed {{submitRequest}} method.
> Replace the reflective wrapper with a concrete {{OzoneManagerProtocolPB}}
> implementation to improve compile-time type checking. Preserve retry
> behavior, lazy connections, cleanup, and read consistency hints across
> failover.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]