OdyseeTeam / odysee-frontend

The code that runs odysee.com
https://odysee.com
MIT License
210 stars 65 forks source link

tus: "file currently locked" #427

Open infinite-persistence opened 2 years ago

infinite-persistence commented 2 years ago

Sometimes, after the file has been uploaded (after the TUS stage), the notify call fails with "file currently locked". The backend is waiting for something (we are not sure what).

Usually, another notify should do that trick and in fact is being done, but the initially error wasn't caught, so we ended up with successful upload but with "file currently locked" shown.

Need to suppress the error message for this scenario (there might be other scenarios where this error message is correctly reflecting the situation).

infinite-persistence commented 2 years ago

Assessment above is incorrect.

Not sure what's locking the file after the tus upload.

infinite-persistence commented 2 years ago

Requires https://github.com/OdyseeTeam/odysee-api/issues/401