Warning · Concurrency
Impact
A delayed duplicate can reacquire the installer lock after the original holder exits, causing the expected uncontested upgrade to fail.
Recommended action
Atomically rename the marker to claim it, then validate the claimed contents before opening the installer lock.