[
https://issues.apache.org/jira/browse/HDDS-8728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-8728.
------------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> Incorrect expectedNodes passed to InsufficientNodesException
> ------------------------------------------------------------
>
> Key: HDDS-8728
> URL: https://issues.apache.org/jira/browse/HDDS-8728
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: SCM
> Reporter: Stephen O'Donnell
> Assignee: Stephen O'Donnell
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> When forming the InsufficientNodesException, we pass missingIndexes.size() as
> the expected node count. However if there are insufficient nodes, the
> expected list gets trimmed, so this count is incorrect. We should pass
> expectedNodes instead, which is the original list length.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]