[openstack-dev] [oslo] instance lock and class lock

Zang MingJie zealot0630 at gmail.com
Wed Sep 3 05:45:40 UTC 2014


Hi all:

currently oslo provides lock utility, but unlike other languages, it is
class lock, which prevent all instances call the function. IMO, oslo should
provide an instance lock, only lock current instance to gain better
concurrency.

I have written a lock in a patch[1], please consider pick it into oslo

[1]
https://review.openstack.org/#/c/114154/4/neutron/openstack/common/lockutils.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140903/f1f51a11/attachment.html>


More information about the OpenStack-dev mailing list