Wednesday, February 01, 2006

Lock Manager

The lock object pattern has been extracted and all page locking primatives have been coded!

Now looking at lock owner block objects which track locks per object and transaction lock owner block objects which track lock owner blocks for a given transaction.

LOBs are used to track pages locked for a given object and determine when the lock manager will escalate a given lock to a full parental lock.

A transaction may consist of several LOBs and these are tracked within a TLOB.

I still need to nail down the full lock hierarchy and once this activity has been performed I will be able to finish off the lock manager and implement the lock escalation logic too!