Temporal · Arazzo Workflow
Temporal Update a Namespace With Optimistic Concurrency
Version 1.0.0
Read a Namespace, update its spec using the current resourceVersion, then confirm the change.
Provider
Workflows
update-namespace
Safely update a Namespace spec using its current resourceVersion.
Chains getNamespace to capture the current resourceVersion, updateNamespace to apply the new spec under that version, and a final getNamespace to verify the update was accepted.
1
readNamespace
getNamespace
Read the Namespace to capture its current resourceVersion, required to perform an optimistic-concurrency update.
2
applyUpdate
updateNamespace
Submit the new spec carrying the resourceVersion just read so the control plane can reject the change if the Namespace was modified concurrently.
3
confirmUpdate
getNamespace
Re-read the Namespace to confirm the update was applied and surface the new resourceVersion.