Doc system test

Session release on failure

How coordinator sessions opened during a run are always released, even when a later step fails.

Meta block front matter of this doc
namespaces
  • durian.cloud/cyanprint/composition
  • durian.cloud/cyanprint/coordinator
type
algorithm
code
  • sulfone.iridium/cyancoordinator/src/operations/composition/operator.rs
  • sulfone.iridium/cyanprint/src/run.rs

Each node run opens a coordinator session (volumes and containers). The ids are held by a guard object; any early error drops the guard, which calls the coordinator to clean each session. On success the guard hands the ids to the caller, which cleans them at the end of the command.

Where it lives

  • sulfone.iridium/cyancoordinator/src/operations/composition/operator.rs
  • sulfone.iridium/cyanprint/src/run.rs

Stub: summary only.