Lockdown Offer: FLAT 75% + Addl. 25% Off + 30-days Extra Lab on ALL Courses | Use Coupon Code LD25 during Checkout | Offer Expires In

  Enroll Now

Apache ZooKeeper

2 / 47

ZooKeeper - Deadlock

What is a Dead Lock? When two processes are waiting for each other directly or indirectly, it is called dead lock.

As you can see in second diagram, process 1 is waiting for process 2 and process 2 is waiting for process 3 to finish and process 3 is waiting for process 1 to finish. All these three processes would keep waiting and will never end. This is called dead lock.