[ https://issues.apache.org/jira/browse/HDFS-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040038#comment-13040038 ]
Todd Lipcon commented on HDFS-1149: ----------------------------------- This also affects HA failover. > Lease reassignment is not persisted to edit log > ----------------------------------------------- > > Key: HDFS-1149 > URL: https://issues.apache.org/jira/browse/HDFS-1149 > Project: Hadoop HDFS > Issue Type: Bug > Components: name-node > Affects Versions: 0.21.0 > Reporter: Todd Lipcon > > During lease recovery, the lease gets reassigned to a special NN holder. This > is not currently persisted to the edit log, which means that after an NN > restart, the original leaseholder could end up allocating more blocks or > completing a file that has already started recovery. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira