SYSTEM$WAIT_FOR_STABLE_OPENFLOW_DEPLOYMENTS
functionnot supportedContainer services & dev toolingWaits until each named deployment leaves a transitional state. Gen 2 Openflow commands that change deployment state run asynchronously, so call this function after an ALTER command when a script must not continue until the change has settled. This is the recommended default for automation.
Syntax
SELECT SYSTEM$WAIT_FOR_STABLE_OPENFLOW_DEPLOYMENTS(
<timeout_seconds>,
'<deployment_name>' [ , '<deployment_name>' ... ]
);
Parameters
| Name | Required | Description |
|---|---|---|
timeout_seconds | required | Maximum time to wait, in seconds. |
'deployment_name' | required | One or more deployment names. Deployments use a simple name. With USE DATABASE and USE SCHEMA set, a simple name resolves in the current session. |
Returns
Returns 'OK' on success. Raises an error if the timeout elapses or if a deployment enters a failed state.
Usage notes
- The Openflow UI performs equivalent polling internally.
- If the function times out, the underlying operation continues. Re-run the wait function with a fresh timeout. Do not re-issue the original command.
Access control
Requires any privilege on the named deployment.
See also
- SYSTEM$WAIT_FOR_OPENFLOW_DEPLOYMENT_STATUS
- SYSTEM$WAIT_FOR_STABLE_OPENFLOW_RUNTIMES
- SYSTEM$WAIT_FOR_OPENFLOW_RUNTIME_STATUS
- SYSTEM$WAIT_FOR_STABLE_OPENFLOW_CONNECTORS
- SYSTEM$WAIT_FOR_OPENFLOW_CONNECTOR_STATUS