What is the proper rule for shared and exclusive locks

Suppose we use the tree protocol with shared and exclusive locks for reading and writing, respectively. Rule (2), which requires a lock on the parent to get a lock on a node, must be changed to prevent unserializable behavior. What is the proper rule (2) for shared and exclusive locks?

Leave a Reply

Your email address will not be published. Required fields are marked *