[ 
https://issues.apache.org/jira/browse/HDDS-8337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen O'Donnell updated HDDS-8337:
------------------------------------
    Fix Version/s: 1.4.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> ReplicationManager: MisReplicationHandler should throw an exception if 
> partially successful
> -------------------------------------------------------------------------------------------
>
>                 Key: HDDS-8337
>                 URL: https://issues.apache.org/jira/browse/HDDS-8337
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Stephen O'Donnell
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> In MisReplicationHandler.getTargetDatanodes() the logic tries to get the 
> required nodes and if it cannot it tries for less nodes to allow a partial 
> recovery.
> If the requested node count does not equal the number returned, it currently 
> logs a warning:
> {code}
>     if (targetDatanodes.size() < replicasToBeReplicated.size()) {
>       LOG.warn("Placement Policy {} found only {} nodes for Container: {}," +
>                " number of required nodes: {}, usedNodes : {}",
>               containerPlacement.getClass(), targetDatanodes.size(),
>               container.getContainerID(), replicasToBeReplicated.size(),
>               usedDns);
>     }
> {code}
> In such a case, after sending the commands we can, it should thrown an 
> exception to it is requeued for retry later, rather than returning 
> successfully.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to