Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18583

[camel-minio] deleteObjects operation does not delete multiple objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.18.2, 3.19.0
    • 3.18.3, 3.20.0
    • camel-minio
    • None
    • Unknown

    Description

      The bug is in the org.apache.camel.component.minio.MinioProducer.deleteObjects() method.
      Minio API performs deletion lazily, deleteObjects request is performed while iterating through the result object.
      https://min.io/docs/minio/linux/developers/java/API.html#removeobjects-removeobjectsargs-args

      Removes multiple objects lazily. Its required to iterate the returned Iterable to perform removal.

      Attachments

        Activity

          People

            ldemasi Luigi De Masi
            ldemasi Luigi De Masi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: