Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
Reviewed
Description
As early as HDFS-13831, it was already
Removed the obsolete BLOCK_DELETION_INCREMENT, but ignored another use of BLOCK_DELETION_INCREMENT.
E.g:
/**
- From the given list, incrementally remove the blocks from blockManager
- Writelock is dropped and reacquired every BLOCK_DELETION_INCREMENT to
- ensure that other waiters on the lock can get in. See
HDFS-2938
* - @param blocks
- An instance of
{@link BlocksMapUpdateInfo}
which contains a list
- of blocks that need to be removed from blocksMap
*/
void removeBlocks(BlocksMapUpdateInfo blocks) { ...... }
Attachments
Issue Links
- links to