You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hanisha Koneru (Jira)" <ji...@apache.org> on 2022/01/05 17:47:00 UTC
[jira] [Updated] (HDDS-5847) Make OM Retry Policy configurable for different protocols
[ https://issues.apache.org/jira/browse/HDDS-5847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hanisha Koneru updated HDDS-5847:
---------------------------------
Summary: Make OM Retry Policy configurable for different protocols (was: Different FailoverProxyProvider for OMInterServiceProtocol)
> Make OM Retry Policy configurable for different protocols
> ---------------------------------------------------------
>
> Key: HDDS-5847
> URL: https://issues.apache.org/jira/browse/HDDS-5847
> Project: Apache Ozone
> Issue Type: Improvement
> Components: OM HA
> Reporter: Hanisha Koneru
> Assignee: Hanisha Koneru
> Priority: Major
>
> OMMetadataProtocol (introduced in HDDS-5534) is currently using the OMClient protocol's failoverProxyProvider - OMFailoverProxyProvider.
> If a bootstrap fails in StateMachine, the OM will shutdown. A retry attempt will result in connection failed exception and this exception would be propagated to the client. We should instead send the first exception which caused the OM to shutdown (bootstrap failure).
> Also, currently we reuse the retry policy in OMFailoverProxyProvider formulated for OM client communication for the Inter Service Protocol and the OM Admin protocol (HDDS-5490). This does not take into account the retry policy required when a ReconfigurationInProgressException is encountered while bootstrapping or decommissioning an OM (please refer to [~bharat]'s comment [here|https://github.com/apache/ozone/pull/2886#issuecomment-996316512]). It would be good to separate out the retry policy based on the protocol.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org