Can I remove quarantined file automatically when deleting original object/container on Swift ?

Solution In Progress - Updated -

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?
  1. Stored data

    /swift/node/d04/objects/5541/7b3/15a5e35ef9e5be5a14021c3570ce97b3/1477638743.59806.data
    
  2. Break data

    echo 1 > /swift/node/d04/objects/5541/7b3/15a5e35ef9e5be5a14021c3570ce97b3/1477638743.59806.data
    
  3. 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
    
  4. 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.