Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Currently delete file is to get all the keys in the directory, and then delete one by one. And the same with rename. This makes for poor performance.
By tested the deletion path with 100,000 files, which took 3718.70 sec. And rename it took 7327.936.
HDDS-2939 can able to optimize this part, but at present the hdds-2939 is slow and still a long way to go. So we optimized the batch operation based on the current interface. We were able to get better performance with this PR before the hdds-2939 came in.