Switch lockutils to use POSIX IPC

Registered by Julien Danjou on 2013-12-26

lockutils should use POSIX IPC rather than file locking mechanism to lock across processes.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Julien Danjou
Direction:
Approved
Assignee:
Julien Danjou
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Julien Danjou on 2014-01-18
Completed by
Doug Hellmann on 2014-03-03

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/lockutils-posix-ipc,n,z

Addressed by: https://review.openstack.org/64149
    lockutils: split code handling internal/external lock

Addressed by: https://review.openstack.org/64150
    lockutils: remove local usage

Addressed by: https://review.openstack.org/64151
    lockutils: do not use the semaphore that is returned

Addressed by: https://review.openstack.org/64152
    lockutils: do not grab the lock in creators

Addressed by: https://review.openstack.org/64153
    lockutils: expand add_prefix

Addressed by: https://review.openstack.org/64154
    lockutils: remove lock_path parameter

Addressed by: https://review.openstack.org/64155
    lockutils: move directory creation in lock class

Addressed by: https://review.openstack.org/64248
    lockutils: fix testcase wrt Semaphore

Addressed by: https://review.openstack.org/69420
    Use Posix IPC in lockutils

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.