Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
HA branch (HDFS-1623)
-
None
-
Reviewed
Description
Current the incremental block report is a List. However, we only really need to send the most recent information for each block. So, if a block becomes RBW and is then becomes FINALIZED before the next incremental block report, we should just report the FINALIZED replica. It's an easy change to just switch to a map by blockid.
This is on the HA branch since HA changes the code to send RBWs in the incremental reports, hence it's more important for maintaining performance parity with trunk.