3 months ago
03a76d9- Add `index_build_owner` and `index_lease_expires_at` columns to workspaces table for lease-based concurrency control - Implement 60-second indexing leases with 15-second heartbeat refresh to detect stale/crashed indexers - Allow new indexers to claim expired leases automatically without manual intervention - Validate owner token on lease refresh and release operations to prevent unauthorized takeover - Clear lease
Parent385ef1c