Object Auditor to quickly look for zero byte files
Bug #708849 reported by
David Goetz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
David Goetz |
Bug Description
In XFS corrupted files are often of zero byte length. This will allow the auditor to quickly find these errors.
Related branches
lp:~david-goetz/swift/zero_byte_audit_dos
- gholt (community): Approve
-
Diff: 794 lines (+282/-86)19 files modifiedbin/swift-log-uploader (+4/-3)
bin/swift-object-auditor (+5/-1)
doc/source/admin_guide.rst (+12/-0)
etc/object-server.conf-sample (+2/-0)
swift/account/auditor.py (+2/-2)
swift/account/reaper.py (+2/-2)
swift/common/daemon.py (+7/-9)
swift/common/db_replicator.py (+2/-2)
swift/common/utils.py (+7/-4)
swift/container/auditor.py (+2/-2)
swift/container/updater.py (+2/-2)
swift/obj/auditor.py (+67/-23)
swift/obj/replicator.py (+2/-2)
swift/obj/updater.py (+2/-2)
swift/stats/account_stats.py (+1/-1)
swift/stats/log_processor.py (+1/-1)
swift/stats/log_uploader.py (+1/-1)
test/unit/common/test_utils.py (+6/-16)
test/unit/obj/test_auditor.py (+155/-13)
summary: |
- Object Auditor look for specific file properties + Object Auditor to quickly look for zero byte files |
Changed in swift: | |
assignee: | nobody → David Goetz (david-goetz) |
Changed in swift: | |
status: | New → Fix Committed |
Changed in swift: | |
milestone: | none → 1.3.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.