Skip to main content

Enumeration: VersionDrainageStatus

enums.v1.VersionDrainageStatus

(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Call this status because it is . --) Specify the drainage status for a Worker Deployment Version so users can decide whether they can safely decommission the version.

Enumeration Members

VERSION_DRAINAGE_STATUS_DRAINED

VERSION_DRAINAGE_STATUS_DRAINED = 2

The Worker Deployment Version is not used by new or open workflows, but might be still needed by Queries sent to closed workflows. The version can be decommissioned safely if user does not query closed workflows. If the user does query closed workflows for some time x after workflows are closed, they should decommission the version after it has been drained for that duration.


VERSION_DRAINAGE_STATUS_DRAINING

VERSION_DRAINAGE_STATUS_DRAINING = 1

The Worker Deployment Version is not used by new workflows but is still used by open pinned workflows. The version cannot be decommissioned safely.


VERSION_DRAINAGE_STATUS_UNSPECIFIED

VERSION_DRAINAGE_STATUS_UNSPECIFIED = 0

Drainage Status is not specified.