Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
HA branch (HDFS-1623)
-
None
-
Reviewed
Description
Currently in trunk, when a file is removed, the deletion request is sent to the DNs with a special NO_ACK flag to indicate that they don't need to ACK the deletion. The NN itself takes care of removing the blocks from the block map, so the deletion report would be redundant.
In the HA branch, we disabled this to fix a failure in TestSafeMode – when the active NN issues a block deletion, and the standby hasn't read the edits yet, this test case expects that it would see the block deletions.
I don't see any actual compelling reasons for this. I think we can restore the optimization and modify the test to pass.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-2692 HA: Bugs related to failover from/into safe-mode
- Resolved