JiangHua Zhu created HDFS-16229:
-----------------------------------
Summary: Remove the use of obsolete BLOCK_DELETION_INCREMENT
Key: HDFS-16229
URL: https://issues.apache.org/jira/browse/HDFS-16229
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: JiangHua Zhu
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) {
......
}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]