Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
Currently SCM scans delLog to send deletion transactions to datanode periodically, the throttling algorithm is simple, it scans at most BLOCK_DELETE_TX_PER_REQUEST_LIMIT (by default 50) at a time. This is non-optimal, worst case it might cache 50 TXs for 50 different DNs so each DN will only get 1 TX to proceed in an interval, this will make the deletion slow. An improvement to this is to make this throttling by datanode, e.g 50 TXs per datanode per interval.
Attachments
Attachments
Issue Links
- is part of
-
HDFS-11922 Ozone: KSM: Garbage collect deleted blocks
- Resolved