[
https://issues.apache.org/jira/browse/HDFS-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061072#comment-13061072
]
Suresh Srinivas commented on HDFS-1894:
---------------------------------------
Todd, you could use LayoutVersion the code could be simpler right? Then all you
need to do is just update the LayoutVersion during merges? This also simplifies
the code with LayoutVersion.supports() call.
> Add constants for LAYOUT_VERSIONs in edits log branch
> -----------------------------------------------------
>
> Key: HDFS-1894
> URL: https://issues.apache.org/jira/browse/HDFS-1894
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Affects Versions: Edit log branch (HDFS-1073)
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Fix For: Edit log branch (HDFS-1073)
>
> Attachments: hdfs-1894.txt, hdfs-1894.txt
>
>
> When merging from trunk into branch, it's pretty difficult to resolve
> conflicts around the layout versions, since trunk keeps swallowing whatever
> layout version I've picked in the branch. Adding a couple of constants will
> make the merges much easier.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira