Joystream / Joystream/joystream

[Colossus] Serve objects from pending folder

Open
#5,060 2 comments 0 reactions 0 assignees View on GitHub
colossus
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Currently on request for an object that is still being processed in the pending folder, we return a 404.
We were concerned with what would happen if file was being streamed to the response, while the `AcceptPendingObjects` service tries to move/copy the file from pending folder to the uploads folder.

If we find that it is safe and we are okay with the resulting behaviour, and the potential latency between uploading a new object and being able to fetch it from the same node is not acceptable, then implement this change.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.