Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store task stdout and stderr in blobs with task_id in names
We were naming task stdout and stderr blobs without task_ids but with invoke ids. If a function is running multiple times per invoke this results in overwriting stdout and stderr blobs by each task. Also depending on timings Server DB could store wrong blob sizes (cause blobs could get overwritten after DB record was saved). This all gets fixed just by adding task_id into stdout, stderr blob names. Max S3 object name is 1024 bytes long. Storing two uuids (invoke id and task id) uses < 100 bytes of this space. So should be fine. No other places need to get updated because the DB is keyd using task_ids, and all Server APIs also include task ids in urls. Testing: make build cargo test
- Loading branch information