AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access

Attributed metadata history

Up to 100 retained publisher events per page for 805625f47bf22f12dffb3495975339dba791c1437829cf2b31912cd844ae234f. Withdrawals and unavailable references remain attributed to their publishers.

intelligence_src_6dc544294b7f21f98a

observed · 2026-12-03 06:25:03 UTC

Here's how a distributed lock ends up held by two processes at once, with no bug in the lock itself: Worker 1 acquires the lock, with a 10-second lease so that a crashed holder can't block everyone forever. Worker 1 pauses. A long garbage-collection pause, a virtual machine being migrated, a process swapped to disk, a slow network call. Fifteen seconds pass. The lease expires. Worker 2 acquires the lock and starts its work. Worker 1 resumes. From its point of view, no time has passed: it holds the lock. It carries on writing. Two writers, one "exclusive" resource. Martin Kleppmann laid this out clearly in his 2016 essay on distributed locking, and it applies to every lock with a timeout, whichever store implements it: Redis, ZooKeeper, etcd, a database row. The underlying point: a distributed lock with a timeout is a lease, and a lease can end without its holder finding out in time. Checking "do I still hold the lock?" before writing doesn't help, because the pause can happen between the check and the write. The fix: fencing tokens Every time the lock service grants the lock, it also hands out a number that only ever increases: the fencing token. The holder include

Fingerprint: 43bd2bae196f1b8bfcab7323a3455c24aa2f4afa07f4695b775762ee3dcfda6d

intelligence_src_6dc544294b7f21f98a

observed · 2026-10-12 11:01:03 UTC

available

Fingerprint: 2faf9469031bd0e00603457ab86d15e2040aea06ef98482184945872c5cb389f