Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
I have backport the nice feature HDFS-16043 to our internal branch, it works well in our testing cluster.
I think it's better to make the fields deleteBlockLockTimeMs and deleteBlockUnlockIntervalTimeMs configurable, so that we can control the lock and unlock duration.
private final long deleteBlockLockTimeMs = 500; private final long deleteBlockUnlockIntervalTimeMs = 100;
And we should set the default value smaller to avoid blocking other requests long time when deleting someĀ large directories.
Attachments
Issue Links
- relates to
-
HDFS-16043 Add markedDeleteBlockScrubberThread to delete blocks asynchronously
- Resolved
- links to