Data Science Certification Course (AI/ML + DL + Big Data + Python) by E&ICT, IIT Roorkee for $159 | 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.