Merge lp:~notmyname/swift/daemon_lock into lp:~hudson-openstack/swift/trunk
Proposed by
John Dickinson
Status: | Work in progress |
---|---|
Proposed branch: | lp:~notmyname/swift/daemon_lock |
Merge into: | lp:~hudson-openstack/swift/trunk |
Diff against target: |
141 lines (+51/-9) 4 files modified
bin/swift-log-stats-collector (+4/-2) etc/log-processing.conf-sample (+1/-0) swift/common/daemon.py (+30/-7) test/unit/common/test_daemon.py (+16/-0) |
To merge this branch: | bzr merge lp:~notmyname/swift/daemon_lock |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
gholt (community) | Disapprove | ||
Review via email: mp+43589@code.launchpad.net |
Description of the change
Added optional flock to daemon to prevent processes overrunning themselves.
Added this option to swift-log-
To post a comment you must log in.
Unmerged revisions
- 148. By John Dickinson
-
made locking in daemon better (including tests)
- 147. By John Dickinson
-
added lock_file argument to swift-log-
stats-collector - 146. By John Dickinson
-
added locking (flock) to daemon.py
I'm a bit confused on this. Isn't this what swift-init tries to accomplish already with its pid files?