|
116 | 116 | *than its own active transaction must acquire an exclusive |
117 | 117 | *lock. |
118 | 118 | * |
119 | | - *FirstPredicateLockMgrLock based partition locks |
| 119 | + *PredicateLockHashPartitionLock(hashcode) |
120 | 120 | *- The same lock protects a target, all locks on that target, and |
121 | | - *the linked list of locks on the target.. |
122 | | - *- When more than one is needed, acquire in ascending order. |
| 121 | + *the linked list of locks on the target. |
| 122 | + *- When more than one is needed, acquire in ascending address order. |
| 123 | + *- When all are needed (rare), acquire in ascending index order with |
| 124 | + *PredicateLockHashPartitionLockByIndex(index). |
123 | 125 | * |
124 | 126 | *SerializableXactHashLock |
125 | 127 | *- Protects both PredXact and SerializableXidHash. |
|