Skip to content

Commit 5bad493

Browse files
committed
Remove the startup hypervisor identity backfill
The backfill existed to persist identity tokens for legacy metadata so destructive paths could skip socket resolution. Correctness never depended on it: a token-less live PID is confirmed through the expected-owner fast path (one /proc/net/unix read plus one fd-dir read), and after a reboot the empty listener scan classifies the recorded hypervisor as provably dead. Stop, delete, and standby re-resolve ownership on every call regardless, and instances mint tokens on create/restore, so the startup pass and its metadata rewrites bought nothing.
1 parent 5247ff6 commit 5bad493

3 files changed

Lines changed: 0 additions & 253 deletions

File tree

cmd/api/main.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,6 @@ func run() error {
296296
}); ok {
297297
reconciler.StartTAPGCReconciler(ctx)
298298
}
299-
if backfiller, ok := app.InstanceManager.(interface {
300-
BackfillHypervisorProcessIdentities(context.Context)
301-
}); ok {
302-
go backfiller.BackfillHypervisorProcessIdentities(ctx)
303-
}
304299

305300
// Log OTel status
306301
if cfg.Otel.Enabled {

lib/instances/identity_backfill.go

Lines changed: 0 additions & 90 deletions
This file was deleted.

lib/instances/identity_backfill_linux_test.go

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)