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

Consider using HTTP POST for Swift bulk delete

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 1.9.0
    • Fix Version/s: None
    • Component/s: jclouds-blobstore
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: