zhangshuyan0 commented on PR #6562: URL: https://github.com/apache/hadoop/pull/6562#issuecomment-2041304944
There a problem with this fix. Assuming the following situation: 1. nn1 and nn2 are both standby, and after dn1 registers with them, its currentKey is null; 2. nn1 is transitioned to active, dn1 reports heartbeat, nn1 sends some DNA_TRANSFER commands and a DNA_ACCESSKEYUPDATE command; 3. Due to the order of commands, dn1 will first process DNA_TRANSFER before processing DNA_ACCESSKEYUPDATE, which results in a failure to process DNA_TRANSFER due to a null currentKey. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
