This may be slightly off-topic but it is worth mentioning that the use of threading.Lock[1] which was included to make the locks thread safe seems to be leading to a deadlock in eventlet[2]. It seems like we have rewritten this too many times in order to fix minor pain points and are adding risk to a very important component of the system.
[1] https://review.openstack.org/#/c/54581 [2] https://bugs.launchpad.net/nova/+bug/1349452 On Aug 18, 2014, at 2:05 PM, Pádraig Brady <[email protected]> wrote: > On 08/18/2014 03:38 PM, Julien Danjou wrote: >> On Thu, Aug 14 2014, Yuriy Taraday wrote: >> >> Hi Yuriy, >> >> […] >> >>> Looking forward to your opinions. >> >> This looks like a good summary of the situation. >> >> I've added a solution E based on pthread, but didn't get very far about >> it for now. > > In my experience I would just go with the fcntl locks. > They're auto unlocked and well supported, and importantly, > supported for distributed processes. > > I'm not sure how problematic the lock_path config is TBH. > That is adjusted automatically in certain cases where needed anyway. > > Pádraig. > > _______________________________________________ > OpenStack-dev mailing list > [email protected] > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
