首页>
外国专利>
Lock reordering for optimistic locking of data on a single node to avoid transaction deadlock
Lock reordering for optimistic locking of data on a single node to avoid transaction deadlock
展开▼
机译:锁定重新排序,以在单个节点上乐观地锁定数据,以避免事务死锁
展开▼
页面导航
摘要
著录项
相似文献
摘要
A node a data grid receives a prepare request identifying data to lock for a first transaction. The prepare request indicates a locking order that is different from a locking order indicated by a prior prepare request of a second transaction using the same data. The node identifies keys that correspond to the data. The keys are co-located on the node. The node ranks the keys to define an order for acquiring locks for the data based on key identifiers that correspond to the keys. The defined order matches a locking order used by the second transaction. The node acquires locks for the data using the defined order.
展开▼