QutEcoacoustics / baw-server

The acoustic workbench server for storing and managing ecoacoustic data. Manages the structure and audio data. Provides an API for clients access.
Apache License 2.0
9 stars 4 forks source link

Media API resiliency #663

Open atruskie opened 1 year ago

atruskie commented 1 year ago

Sometimes I/O operations fail - that is just the nature of network storage.

However, we've seen a few cases recently where I/O has failed in new ways which has left corrupted media in our cache. As an example, we found media in our cache that was 0 kB big because the network storage failed just as we were copying over the result.

We should make our media generation a little more robust: