OxL Reference

warning pipeline-idempotency

warning Standard: [§10.6]

What it means#

A durable step and all steps after it are repeated on another node after a failure (at-least-once). An rpc without @idempotent may then run twice.

Example#

oxl✓ checked in CI
service Mail { rpc send(to: str) -> () }
impl Mail { rpc send(to) { } }
pipeline notify(to: str) {
  Mail.send(to)  durable   // <- pipeline-idempotency
}
error
pipeline-idempotency

How to fix#

Mark the rpc @idempotent, or remove durable from the step.

See also#

OxL 1.0.0-beta · Documentation version 1.0.0-beta© OxwaldLink · generated from the Standard, the std sources and the guides