Skip to content

cancel_blob_gc()

relationalai.api
cancel_blob_gc()

Use api.cancel_blob_gc() to request cancellation of a running Blob GC pass when an exceptional operational situation requires it. Requires the app_admin application role.

This procedure does not take any parameters.

STRING

The procedure returns one of the following messages immediately after you submit the cancellation request:

OutcomeReturned message
Cancellation requestedBlob GC cancellation requested successfully.
Cancellation requested for a specific engineBlob GC cancellation requested successfully on engine <engine_name>.
No Blob GC pass runningNo Blob GC pass is currently running.
Cancellation failedError cancelling Blob GC: <reason>
Cancellation failed for a specific engineError cancelling Blob GC on engine <engine_name>: <reason>

The engine name appears only when the response includes one.

Request cancellation of the current Blob GC pass:

CALL relationalai.api.cancel_blob_gc();

Cancellation completes asynchronously after you call the procedure, unless you receive an error message indicating that cancellation failed or that no Blob GC pass is currently running.