fix: fallback to default arbiter_service_id in explicit channel leases

Explicit leases created by failover didn't include arbiter_service_id,
causing arbiter verdict to never be saved (pairedExecutionContext was
undefined). Now falls back to ARBITER_SERVICE_ID from config when the
stored lease has null arbiter_service_id.
This commit is contained in:
Eyejoker
2026-03-31 07:45:50 +09:00
parent aad1e93df5
commit 4aef48f3ba

View File

@@ -45,7 +45,9 @@ function normalizeLeaseRow(
: null,
arbiter_service_id: row.arbiter_service_id
? normalizeServiceId(row.arbiter_service_id)
: null,
: isArbiterEnabled()
? ARBITER_SERVICE_ID
: null,
activated_at: row.activated_at,
reason: row.reason,
explicit,