You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Chu Cheng Li (Jira)" <ji...@apache.org> on 2026/09/21 08:51:00 UTC

[jira] [Updated] (HDDS-16529) Replace reflective OM follower routing with typed dispatch

     [ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org