[
https://issues.apache.org/jira/browse/HDFS-6066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923951#comment-13923951
]
chenping commented on HDFS-6066:
--------------------------------
@Uma Maheswara Rao G
Yes, StandbyNN can also get the gs from edit stream via
FSEditLog.logAddBlock(String, INodeFile)。
> logGenerationStamp is not needed to reduce editlog size
> -------------------------------------------------------
>
> Key: HDFS-6066
> URL: https://issues.apache.org/jira/browse/HDFS-6066
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: chenping
> Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HDFS-6066-trunk.1.patch, HDFS-6066-trunk.patch
>
>
> almost every logGenerationStamp has a logAddBlock followed, so we can get the
> newest gs from the logAddBlock operation indirectly.this will reduce the edit
> log size.
--
This message was sent by Atlassian JIRA
(v6.2#6252)