Page MenuHomePhabricator

[services] Blob - Fix reading data from S3
ClosedPublic

Authored by karol on Apr 1 2022, 3:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 30, 1:30 PM
Unknown Object (File)
Sun, Jun 30, 11:14 AM
Unknown Object (File)
Sun, Jun 30, 11:13 AM
Unknown Object (File)
Sun, Jun 30, 11:13 AM
Unknown Object (File)
Sun, Jun 30, 11:13 AM
Unknown Object (File)
Sun, Jun 30, 11:10 AM
Unknown Object (File)
Thu, Jun 27, 2:03 PM
Unknown Object (File)
Tue, Jun 25, 5:51 AM

Details

Summary

Depends on D3651

Raised in https://phabricator.ashoat.com/D3470#97072

We want to fix reading the S3 object so it doesn't cut the stream on \n

Test Plan
cd services
yarn test-blob-service

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek added inline comments.
services/blob/src/AwsS3Bucket.cpp
122–123 ↗(On Diff #10933)

Why do we need to resize?

This revision is now accepted and ready to land.Apr 1 2022, 3:38 AM
services/blob/src/AwsS3Bucket.cpp
122–123 ↗(On Diff #10933)

We don't. It is a leftover. It was used to allocate the mem up front.

This revision was landed with ongoing or failed builds.Apr 13 2022, 4:58 AM
This revision was automatically updated to reflect the committed changes.