Skip to content
Commit b0588279 authored by Valentin David's avatar Valentin David
Browse files

Do not remove newly uploaded objects when cleaning up cache on server.

Issue was found while investigating for #609. When the disk gets
filled up, we would prune non-referenced objects. Since this happens
during an upload of object before a reference is added for uploaded
objects, then we would have an incomplete upload. Further pulls would
result in a missing object error.

The solution is to let 6 hours pass before we can prune an object.  To
implement this fix without this minimum age "trick", we would need to
change protocol and deal with concurrent pushes.
parent 4473e1aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment