The Dynamo Administration Interface pages for the ClientLockManager
and ServerLockManager
components each allow you to view the state of the internal tables for each lock entry. To view this information, click the Display lock table link under the Service Info heading.
The lock table for a ClientLockManager
displays the following columns:
Key | The identity of the lock |
Read owned | Does this process have a read lock on that key? Note that multiple processes can simultaneously have the read lock but when one process has a read lock, no other process will have the write lock. |
Write owned | Does this process have the write lock on that key? |
Read/write requested | Has another process requested this read/write lock? Each process first goes to the |
Globally owned | This is |
Write owner | Set to the thread that owns this lock in this process. There can be only one. |
Read owners | Set to the threads that own this lock in this process. There can be more than one. |
Read/write waiters | The list of threads that are waiting for this lock. |
The lock table for a ServerLockManager
is similar but in that case the lock owners are actually the processes, not the threads within a process.