Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3286

BasicOzoneFileSystem support batchDelete

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Issue Links

          Activity

            People

              micahzhao mingchao zhao
              micahzhao mingchao zhao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m