Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-937

Consider using HTTP POST for Swift bulk delete

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.9.0
    • None
    • jclouds-blobstore

    Description

      Presently BulkApi.bulkDelete uses the DELETE HTTP verb with an entity body to supply the object names. We should consider using the equivalent and POST HTTP verb instead. The latter is better supported by some tools and proxies as discussed here:

      https://bugs.launchpad.net/swift/+bug/1232787

      Unfortunately Swift 1.8.0 (Havana) added support for DELETE and 1.11/1.12 (Icehouse?) added support for POST:

      https://github.com/openstack/swift/blob/master/CHANGELOG

      We might need some fallback or compatibility logic.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaul Andrew Gaul
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: