kubernetes
8 minKubernetes finalizers: deletion is a protocol, not a cleanup callback
Follow deletion timestamps and controller-owned finalizer removal without hiding leaked resources.
Loading page...
kubernetes
8 minFollow deletion timestamps and controller-owned finalizer removal without hiding leaked resources.
Q&A
Q&AA controller has not removed its finalizer after completing external cleanup.
The API server records deletion and retains the object while finalizers remain. The owning controller must retry idempotent cleanup and remove only its own finalizer after confirmed completion.
databases
5 minInvestigate missing heartbeats with PostgreSQL interval arithmetic and a separate SQLite integer-millisecond contract.
Q&A
Q&AIt is no longer strongly reachable from GC roots, though collection timing is not guaranteed.
An object becomes eligible when no strong-reference path leads to it from roots such as live thread stacks, static fields, or JNI references. Eligibility does not guarantee immediate collection or finalization. To diagnose retention, inspect heap dumps and dominator paths; do not rely on System.gc() as a fix.