Skip to content

Epsio HA Deployment

ENTERPRISE DEPLOYMENT ONLY

At this time, Epsio running in "HA mode" is only available for enterprise deployments.

instance_restart_view

The instance_restart_view procedure restarts a stopped / killed view atomically on a specific Epsio instance. This is useful for High Availability deployments where you wish to restart a view on a specific Epsio instance without restarting it on all others.

To retrieve an Epsio instance_id, run list_instances and take the id of the instance you wish to restart the view on.

Syntax

CALL epsio.instance_restart_view(
    <instance_id>,
    <view_name>,
    <block_until_running (optional)>
);
Parameter Information
instance_id The Epsio instance to restart the view on. Can be retrieved from list_instances
view_name The existing view name that needs to be restarted.
block_until_running (Optional, default true) Whether or not to wait for population to end before returning.

Examples

Restarting a crashed view:

CALL epsio.instance_restart_view('e646ba76-a444-464e-88e0-bd897460c7da_green', 'epsio.example_view');