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

Bharat Viswanadham updated HDDS-971:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.4.0
           Status: Resolved  (was: Patch Available)

Thank You [~ljain] for the contribution.
I have committed this to trunk.

> ContainerDataConstructor throws exception on QUASI_CLOSED and UNHEALTHY 
> container state
> ---------------------------------------------------------------------------------------
>
>                 Key: HDDS-971
>                 URL: https://issues.apache.org/jira/browse/HDDS-971
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>             Fix For: 0.4.0
>
>         Attachments: HDDS-971.001.patch
>
>
> We need to define QUASI_CLOSED and UNHEALTHY state in 
> ContainerDataConstructor class logic. Currently the code uses switch-case for 
> determining the state. The logic can be replaced with 
> {code:java}
> ContainerProtos.ContainerDataProto.State.valueOf(state)
> {code}
> call. The Jira also fixes test failure TestKeys#testPutAndGetKeyWithDnRestart.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to