ZanderXu commented on PR #5583:
URL: https://github.com/apache/hadoop/pull/5583#issuecomment-1536101504

   And this problem only happens when the following conditions occur at the 
same time:
   
   1. StandbyNameNode postpone some reports with small GS.
   2. Transferring StandbyNameNode to ActiveNameNode. 
   
   The `markBlockAsCorrupt` only be used by ActiveNameNode, and this method 
looks good to me, because Active can only only believe that every report is the 
newest report from datanode. And Active NameNode should modify state of block 
in memory according to these reports.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to