[ 
https://issues.apache.org/jira/browse/HDFS-8593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584729#comment-14584729
 ] 

Jing Zhao commented on HDFS-8593:
---------------------------------

Thanks for the fix, Chris! The patch looks pretty good to me. +1.

> Calculation of effective layout version mishandles comparison to current 
> layout version in storage.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-8593
>                 URL: https://issues.apache.org/jira/browse/HDFS-8593
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HDFS-8593.001.patch
>
>
> HDFS-8432 introduced the concept of a minimum compatible layout version so 
> that downgrade is applicable in a wider set of circumstances.  This includes 
> logic for determining if the current layout version in storage is within the 
> bounds of the minimum compatible layout version.  There is an inverted 
> comparison in this logic, which can result in an incorrect calculation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to