Recovery Mode

Recovery Mode

Recovery Mode is a special operational state that ensures the system is aware of a reconciliation process in the database and blob storage after system outages or data inconsistencies. It ensures that data repair operations run safely by preventing the execution of tasks that may affect data recovery efforts.

Recover Mode feature is available only for users with admin privileges and is available only in self-hosted instances.

Enabling Recovery Mode

Prerequisites

To use recovery mode, you must meet the following prerequisites:

How to Enable

Recovery Mode can be enabled through either the Management Page or via API.

Option A: Management Page

  1. Navigate to Support > Recovery Mode.
  2. Click Enable Recovery Mode.
  3. Confirm success notification that appears.

Option B: API
Endpoint

POST /v1/recovery-mode

Administrative credentials are required for authorization.

When Recovery Mode is enabled, the following actions occur:

Using Recovery Mode for reconciliation

After enabling Recovery Mode, run the required data repair tasks to reconcile inconsistencies between the database and blob storage:

For detailed information about these tasks, see Data Repair Tasks.

Verify repair completion

To verify reconciliation results, use the reconciliation reports as described in Data Repair Tasks. For more information, see Accessing Reconciliation Reports.

Exiting Recovery Mode

Prerequisites

How to Exit

Recovery Mode can be exited through either the Management Page or via API.

Option A: Management Page

  1. Navigate to Support > Recovery Mode.
  2. Verify that no reconciliation tasks are running.
  3. Click Disable Recovery Mode.
  4. If unexecuted reconciliation plans exist, confirm via modal dialog.
  5. Confirm success notification that appears.

Note

The Disable button will remain unavailable if reconciliation tasks are still running.

Option B: API
Endpoint

DELETE /v1/recovery-mode

Administrative credentials are required for authorization.

When Recovery Mode is exited, the following actions occur:

Recovery Mode Behavior

Banner Notification

When Recovery Mode is enabled, a banner is displayed at the top of the screen, consistent with the styling of zero-downtime upgrade notifications.

Restricted Tasks During Recovery Mode

While Recovery Mode is active, only these following specific tasks are blocked:

If any of these tasks are initiated during Recovery Mode, they will fail immediately. A log entry will be generated indicating that Recovery Mode is enabled and that reconciliation must be completed before the task can proceed.

All other tasks, including reconciliation-related tasks, will continue to operate as normal.

Best Practices

Troubleshooting

Cannot Disable Recovery Mode

Conflicting Task Fails

Banner Not Visible

Unexecuted Plans Remain

Delete a specific plan

DELETE /v1/api/plan/{planId}

Delete all plans in PLANNED or EXECUTE state

DELETE /v1/api/plan