empty db hash/suffix directories can pile up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Medium
|
Mahati Chamarthy |
Bug Description
It seems that if a db gets quarantined (or possibly by some failure in delete_db locktimeout or OSError) we may fail to cleanup an empty suffix dir (or *maybe* a hashdir).
I've only observed empty suffixes, and was able to reproduce it by creating a bogus db entry that the reqlicator quarantined:
May 19 10:39:50 swift-test-02 container-
bc5d.db
This results in an empty suffix dir:
swiftstack@
containers/
containers/181181
containers/
The empty suffix dir never get's cleaned up.
FWIW I think it's reasonable for quarantine to stay out of directories above the hashdir - but the replicator needs to clean these up similarly to the solution in lp bug #1396152
Changed in swift: | |
assignee: | nobody → Mahati Chamarthy (mahati-chamarthy) |
Fix proposed to branch: master /review. openstack. org/331601
Review: https:/