Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Lock Analyzer

Randgalt edited this page May 17, 2012 · 4 revisions

Exhibitor can analyze a set of ZKNodes that represent lock recipes. Usually, a lock recipe has a parent ZKNode with ephemeral child nodes. In order for the analysis to work, some sort of process ID must be written as the data for the ephemeral child nodes (Curator writes the client IP address).

To perform the analysis, click the “Analyze” button at the bottom of the Explorer. Enter multiple ZKNode parent paths as well as the maximum number of locks for each node. For a mutex, the max is 1. A semaphore, though, can have more than one.

The analyzer will report the owners of each of the locks and any possible deadlocks.

Explorer