Skip to content

Commit

Permalink
uploads to s3 using multipart uploads. Testing seems to be working, b…
Browse files Browse the repository at this point in the history
…ut is incomplete.
  • Loading branch information
rw2 committed Aug 22, 2024
1 parent 4f95b0f commit eea44e3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/S3File.cc
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,6 @@ ssize_t S3File::Write(const void *buffer, off_t offset, size_t size) {
return -ENOENT;
}
write_buffer += payload;
// write_buffer += (char *) buffer;
size_t write_buffer_size = write_buffer.length();
size_t write_buffer_expected = offset + size;
if (write_buffer_size != write_buffer_expected) {
return -ENOENT;
}

// XXX should this be configurable? 100mb gives us a TB of file size. It
// doesn't seem terribly useful to be much smaller and it's not clear the S3
Expand Down

0 comments on commit eea44e3

Please sign in to comment.