System Design · Senior · Question 71 of 75

Why does a distributed lock need fencing tokens?

Explanation

Lock expiry alone doesn't guarantee mutual exclusion in the presence of pauses and clock issues.

Further reading

Problem with a question

System Design · Senior · question 71

Test yourself

Take the System Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz