Search K
Appearance
Appearance
uncertain-delete.pl [OPTIONS] dict_path object_id
This script can be used to fix up Obox Troubleshooting: "Success is uncertain, not deleting object ID" cleanup errors by checking if it actually succeeded in Cassandra or not. If not, the Scality object is deleted.
It's possible to give path & object ID as parameters. It's also possible to feed the error logs directly to stdin.
Giving --head parameter causes it to check from Scality first with HEAD if the object really exists before issuing DELETE. This allows differentiating between whether the object actually exists in Scality or not, which might be useful to know.