public void transferBucketToArchive(Bucket bucket) {
String destination = pathResolver.resolveArchivePath(bucket);
String tempPath = pathResolver.resolveTempPathForBucket(bucket);
logger.info(will("attempting to transfer bucket to archive", "bucket",
bucket, "destination", destination));
Transaction bucketTransaction = PutBucketTransaction.create(
archiveFileSystem, bucket, tempPath, destination);
// TODO: Merge the bucket transaction and the bucketsize transaction. They
// should be able to be run at once with
// transactionExecuter.execute(Transaction... transactions)