The GitHub Actions job "Backport Approval Check" on 
texera.git/fix/file-service-internal-upload has succeeded.
Run started by GitHub user Ma77Ball (triggered by Ma77Ball).

Head commit for run:
a38658148a48731c23dfcebf4256060f31558a89 / Matthew Ball <[email protected]>
fix(file-service): upload dataset file parts via the internal S3 client

ResourceUploadService.uploadOneFile streams a dataset file to the object store 
as a multipart upload. It asked LakeFS to open the upload 
(initiatePresignedMultipartUploads, which returns an uploadId, a 
physicalAddress, and a set of presigned part URLs) and then PUT each buffered 
part to those presigned URLs. LakeFS signs those URLs for the client-facing 
endpoint (TEXERA_HOST, e.g. localhost:9000), so a server-side PUT from 
file-service could not reach them and the upload failed with a connection error.

The part PUTs now go through file-service's internal S3 client instead. The 
method still opens the multipart upload through LakeFS and still completes it 
through completePresignedMultipartUploads, but between those it resolves the 
staged bucket/key from physicalAddress and sends each part with 
S3StorageClient.uploadPartWithRequest, which targets the internal 
STORAGE_S3_ENDPOINT and is the same client the session-based multipart path 
(/multipart-upload/part) already uses. Streaming and part-size behavior are 
unchanged. Presigned URLs remain how the download endpoints hand a browser 
direct access, so the single LakeFS presign endpoint stays correct for 
downloads.

reference/perf-candidates.md records this under P2 with the verification 
(upload returns 200 against the shipped presign config, which previously 
failed).

Report URL: https://github.com/apache/texera/actions/runs/43594499082

With regards,
GitHub Actions via GitBox

Reply via email to