← 返回卡片

原书出处

Designing Distributed Systems, 2nd Edition

10 Chapter 10. Ownership Election

Second Edition · 核验版本的摘录快照 · 导入于 2026-11-14T02:48:46.782Z

By adding TTL to our locks, we have actually introduced a bug into our unlock function. Consider the following scenario: Process-1 obtains the lock with TTL t. Process-1 runs really slowly for some reason, for longer than t. The lock expires. Process-2 acquires the lock, since

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch10.html

EPUB SHA-256:d6092c05a28fa00f75eb7c89905415def203cd92f0373323020ba665a9969602