jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds] Delete objects in a container efficiently. (#214)
Date Fri, 21 Mar 2014 20:38:57 GMT
> +         if (marker != null) {
> +            logger.debug("%s with marker %s", message, marker);
> +            options = options.afterMarker(marker);
> +            listing = getListing(containerName, options, semaphore,
> +                  outstandingFutures, deleteFailure);
> +         } else {
> +            break;
> +         }
> +      }
> +   }
> +
> +   public void execute(final String containerName,
> +         ListContainerOptions listOptions) {
> +      final AtomicBoolean deleteFailure = new AtomicBoolean();
> +      final int numOutStandingRequests = 1024;
> +      int retries = maxErrors;

Given the large number of HTTP response fixes we have added, I believe the per-operation retry
should suffice and we can remove the outer retry loop.  We can address this in a subsequent
commit.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/214/files#r10853517
Mime
View raw message