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 deletecommand 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.datais deleted, but
/swift/node/d04/quarantined/objects/15a5e35ef9e5be5a14021c3570ce97b3/1477638743.59806.datais kept remained.
Environment
- Red Hat OpenStack Platform 8.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
