Parallel cycle detection in distributed databases

作者:

Highlights:

摘要

A deadlock detection algorithm is presented, by which each node in a network can decide locally whether a deadlock exists. Besides the problem of deadlock detection, we also take into account the problem of cycle detection in graphs distributed over several nodes. This problem arises in several locking protocols like the RAC-locking protocol in a distributed environment. The proposed algorithm is based on the idea of sending relevant paths of the wait-for graph by broadcast messages to each other node requiring only one physical transmission. In order to detect deadlocks only locally each node collects all paths sent in a local graph. As this graph has to be equal within all nodes a protocol has been developed which is responsible for ensuring equality. Finally, we determine the overhead caused by this protocol within the network. Besides, we also propose a broadcast two-phase commit protocol exploiting the facility of a broadcast message.

论文关键词:Distributed deadlock detection,multiversion locking,distributed databases

论文评审过程:Received 18 July 1989, Revised 25 April 1990, Available online 10 June 2003.

论文官网地址:https://doi.org/10.1016/0306-4379(90)90028-N