lockless hashes.pkl
Bug #1163746 reported by
David Hadas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Expired
|
Undecided
|
Unassigned |
Bug Description
hashes.pkl updates require some sort of locking to avoid different updaters to collide.
Today, path_lock is used creating yet another file used for locking.
A simpler and more efficient mechanism can be used by using the posix file create semantics which guarantees that only one updater can create the update file.
Changed in swift: | |
assignee: | nobody → David Hadas (david-hadas) |
Changed in swift: | |
status: | In Progress → Incomplete |
assignee: | David Hadas (david-hadas) → nobody |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/26000
Review: https:/