+ mergedDiscrepancyResults.getCountOfItemsCompared() + ")"
: ""));
boolean forceMetadataDownload = isEncryptionEnabled || isGzipEnabled;
PartialObjectListing partialListing = fileComparer.buildObjectMapPartial(
storageService, bucketName, rootObjectPath, priorLastKey,
objectKeyToFilepathMap, !isBatchMode, forceMetadataDownload, isForce,
md5GenerationProgressWatcher, serviceEventAdaptor);
if (serviceEventAdaptor.wasErrorThrown()) {
throw new ServiceException("Unable to build map of objects",
serviceEventAdaptor.getErrorThrown());
}
md5GenerationProgressWatcher.resetWatcher();
// Retrieve details from listing.
priorLastKey = partialListing.getPriorLastKey();
Map<String, StorageObject> objectsMap = partialListing.getObjectsMap();
// Compare the listed objects with the local system.
printProgressLine("Comparing service contents with local system");
FileComparerResults discrepancyResults = fileComparer.buildDiscrepancyLists(
objectKeyToFilepathMap, objectsMap, md5GenerationProgressWatcher, isForce);