Merge lp:~pandemicsyn/swift/recon-replication-cleanup into lp:~hudson-openstack/swift/trunk
Proposed by
Florian Hines
Status: | Merged |
---|---|
Approved by: | David Goetz |
Approved revision: | 353 |
Merged at revision: | 353 |
Proposed branch: | lp:~pandemicsyn/swift/recon-replication-cleanup |
Merge into: | lp:~hudson-openstack/swift/trunk |
Diff against target: |
290 lines (+162/-59) 4 files modified
bin/swift-recon-cron (+64/-56) swift/common/middleware/recon.py (+4/-1) swift/common/utils.py (+75/-1) swift/obj/replicator.py (+19/-1) |
To merge this branch: | bzr merge lp:~pandemicsyn/swift/recon-replication-cleanup |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Goetz (community) | Approve | ||
John Dickinson | Approve | ||
Review via email: mp+73557@code.launchpad.net |
Description of the change
obj replicator can now log replication stats for recon directly:
in object-server.conf:
[object-replicator]
vm_test_mode = yes
recon_enable = yes
recon_cache_path = /var/cache/swift
Also replaced the swift-recon bash cronjob with a friendlier/cleaner python version, that now only obtains async stats. Basic usage:
$ bin/swift-
Usage: swift-recon-cron CONF_FILE
#CONF_FILE = path to your object-server.conf
$ bin/swift-
To post a comment you must log in.
yay