[
https://issues.apache.org/jira/browse/HDDS-13509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-13509:
------------------------------------
Issue Type: Improvement (was: Bug)
> Have single constructor in ContainerReplicaPendingOps and ContainerReplicaOp
> ----------------------------------------------------------------------------
>
> Key: HDDS-13509
> URL: https://issues.apache.org/jira/browse/HDDS-13509
> Project: Apache Ozone
> Issue Type: Improvement
> Components: SCM
> Reporter: Siddhant Sangwan
> Assignee: Huang Guan Hao
> Priority: Major
> Labels: pull-request-available
>
> We should use a single constructor in these classes to keep things simple.
> With a single constructor, the same code path is used everywhere, and the
> same code path is tested. With multiple constructors users need to figure out
> which one to use, maintainers need to figure out which production code is
> related, which tests are related etc. With a single constructor this overhead
> simply goes away.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]