Can I remove quarantined file automatically when deleting original object/container on Swift ?
Issue
- I don't need quarantined objects in quarantined directory on Swift.
- Is it possible to delete quarantined objects when executing the
swift delete
command to remove the original object?
-
Stored data
/swift/node/d04/objects/5541/7b3/15a5e35ef9e5be5a14021c3570ce97b3/1477638743.59806.data
-
Break data
echo 1 > /swift/node/d04/objects/5541/7b3/15a5e35ef9e5be5a14021c3570ce97b3/1477638743.59806.data
-
Corrupted data is quarantined and object is repaired
/swift/node/d04/objects/5541/7b3/15a5e35ef9e5be5a14021c3570ce97b3/1477638743.59806.data /swift/node/d04/quarantined/objects/15a5e35ef9e5be5a14021c3570ce97b3/1477638743.59806.data
-
After running
swift delete
/swift/node/d04/objects/5541/7b3/15a5e35ef9e5be5a14021c3570ce97b3/1477638743.59806.data
is deleted, but
/swift/node/d04/quarantined/objects/15a5e35ef9e5be5a14021c3570ce97b3/1477638743.59806.data
is kept remained.
Environment
- Red Hat OpenStack Platform 8.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.