PauseLeases

Lease-protected jobs; see PauseLeasesRequest. Forwarded to the primary.

Request Type: PauseLeasesRequest

Pause leases, for taking a single Manager down for maintenance: workers stop refreshing and stop nothing for a missed refresh, and no lease-protected job whose holder was lost is started again until ResumeLeases (whose time the grace then runs from). New lease-protected launches are not refused. Replicated, so a cluster’s members agree.

Field

Type

Repeated

Description

reason

string

by

string

Who paused (the operator the API saw), for the record.

Response Type: LeaseStatus

Field

Type

Repeated

Description

paused

bool

changed_at_ms

uint64

When it was last paused or resumed, by whom and why.

by

string

reason

string

resumed_at_ms

uint64

leases

JobLease

✅

Every lease held now.

default_grace_ms

uint64

The deployment’s grace, for a job that does not set its own.