Problem Statement
In a distributed system, multiple nodes may try to perform the same critical task simultaneously, causing conflicts and inconsistent states. Without a clear coordinator, the system can suffer from split-brain scenarios, duplicated work, or deadlocks, leading to unreliable behavior and degraded performance.
