发明名称 Distributed transaction processing using two-phase commit protocol with presumed-commit without log force
摘要 A two-phase commit protocol for a distributed transaction processing system employs the presumed-commit configuration, with the exception that the new presumed-commit protocol coordinator needs to force-write only a "commit" log record for committed transactions, not the previous force writing of two log records. In order to provide information needed to allow the coordinator to answer inquiries from subordinate processes following a crash or loss of communications, a technique for circumscribing the set of indeterminate transactions is employed. The transactions are numbered in increasing order, identified by a transaction ID (T-ID). The commit protocol is not allowed to begin unless the transaction ID of the committing transaction is within some preselected range of numbers starting from the highest-numbered stably-recorded transaction ID. That is, if the transaction number is too far removed from the highest TID of a stably stored log record (written to disk storage and able to survive a crash), then log records are written to disk until this condition hold. This may require writing to a disk log record for the committing transaction. Most commit transactions can, however, proceed without waiting for a disk write (forced log), and so performance is improved. A technique is disclosed for circumscribing the set of indeterminate transactions (not shown whether they committed, aborted or never started) so that information is small. It must be "permanently" retained, but the coordinator can store some of it in a cache (volatile memory) to answer inquiries.
申请公布号 US5335343(A) 申请公布日期 1994.08.02
申请号 US19920909556 申请日期 1992.07.06
申请人 DIGITAL EQUIPMENT CORPORATION 发明人 LAMPSON, BUTLER;LOMET, DAVID B.
分类号 G06F12/00;G06F9/46;G06F11/14;G06F15/16;G06F15/177;(IPC1-7):G06F15/00 主分类号 G06F12/00
代理机构 代理人
主权项
地址