-
- Downloads
Fixed racy implementation of BackendRados::lock{Exclusive|Shared}()
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.
Loading
Please register or sign in to comment