Use bulk delete in pegasus-s3

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • 4.5.0
    • Affects Version/s: master, 4.5.0
    • None

      Right now when you use the pegasus-s3 rm command, it deletes the keys one-by-one. Amazon added a bulk delete interface that enables keys to be deleted in batches of 1,000. We should use that interface to speed up the deletion process. In boto this is invoked with Bucket.delete_keys([key1,key2]). We could also do parallel deletes for very large sets of keys.

            Assignee:
            Gideon Juve
            Reporter:
            Gideon Juve
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: