Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,19 @@ private Ds3ClientHelpers.Job innerStartWriteJob(final String bucket,
final Iterable<Ds3Object> objectsToWrite,
final WriteJobOptions options)
throws IOException {
final PutBulkJobSpectraS3Response prime = this.client.putBulkJobSpectraS3(
new PutBulkJobSpectraS3Request(bucket, Lists.newArrayList(objectsToWrite))
final PutBulkJobSpectraS3Request request = new PutBulkJobSpectraS3Request(bucket, Lists.newArrayList(objectsToWrite))
.withPriority(options.getPriority())
.withMaxUploadSize(options.getMaxUploadSize())
.withAggregating(options.isAggregating())
.withIgnoreNamingConflicts(options.doIgnoreNamingConflicts()));
.withIgnoreNamingConflicts(options.doIgnoreNamingConflicts());

if (options.getMaxUploadSize() > 0) {
request.withMaxUploadSize(options.getMaxUploadSize());
}

final PutBulkJobSpectraS3Response prime = this.client.putBulkJobSpectraS3(
request);


return new WriteJobImpl(
this.client,
prime.getResult(),
Expand Down