You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Features
Claim actor ownership in the control plane, with a PostgreSQL store (#618)
Upgrading
The control plane now claims an actor before it assigns a host, and hosts renew and release their lease through it. Leases last 60 seconds, renewed every 10, so a host that dies without releasing holds its actor for up to a minute. Hosts started by an earlier release keep their leases in the bucket until they stop.
Ownership stays in the bucket by default. To keep it in PostgreSQL (migration V28 adds actor_ownership), roll out DURABLE_ACTORS_OWNERSHIP_STORE=bucket-to-postgres (chart value storage.ownership) to every control plane, wait until the ownership_backfill log reports remaining 0, then roll out postgres. Moving to PostgreSQL is one-way.