Skip to main content

Module model

Module model 

Source
Expand description

Lease data model for in-flight run ownership.

This module defines typed lease primitives used to represent:

  • Which run is leased.
  • Which worker currently owns that lease.
  • When the lease expires.

Structsยง

Lease
Active lease for a specific run.
LeaseExpiry
Typed lease-expiry timestamp represented in epoch seconds.
LeaseOwner
Typed identifier for the worker/executor that owns a lease.