Skip to content
Snippets Groups Projects
user avatar
Eric Cano authored
As rados re-creates an object when trying to lock it, we tested for presence before locking.
This is racy as object could be deleted in the mean time.
Instead, we now lock blindly and delete the object if we find it having a zero-size.
As we own the lock, this is safe.

This problem led to issues in garbage colector, where agent gets polled while it could disappear.
aa56a1c3
History
Name Last commit Last update