[ https://issues.apache.org/jira/browse/HDFS-7440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14225363#comment-14225363
]
Jing Zhao commented on HDFS-7440:
---------------------------------
With the change now FSNamesystem#removeBlocks is moved into the fsn write lock (in {{deleteSnapshot}}).
I think we'd better still keep it out of the write lock.
> Consolidate snapshot related operations in a single class
> ---------------------------------------------------------
>
> Key: HDFS-7440
> URL: https://issues.apache.org/jira/browse/HDFS-7440
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Attachments: HDFS-7440.000.patch, HDFS-7440.001.patch
>
>
> Currently the snapshot-related code scatters across both {{FSNameSystem}} and {{FSDirectory}}.
This jira proposes to consolidate the logic in a single class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|