1. A server computer in a distributed transaction processing system in which a master server computer performs a distributed transaction processing in cooperation with a plurality of slave server computers that perform a local transaction processing, the server computer having both a function of the master server computer and a function of the slave server computer, comprising: a log-data recording unit that records progress of any one of the distributed transaction processing and the local transaction processing as log data in a shared disk accessible from both the master server computer and the slave server computers, the log-data recording unit including a first log-data recording unit that records progress of the distributed transaction processing once the server computer is functioning as the master server computer; and a second log-data recording unit that records progress of the local transaction processing once the server computer is functioning as the slave server computer; and a fault recovery unit that performs a fault recovery based on the log data, wherein the progress of the distributed transaction processing is represented by a commitment request log, and the progress of the local transaction processing is represented by a prepared log and a commitment receive log, wherein upon successfully performing the local transaction processing, the server computer functioning as the slave server computer records the prepared log, upon receiving success replies from all of the server computers functioning as the slave server computers, the server computer functioning as the master server computer records the commitment request log before sending a commitment request to the all of the server computers functioning as the slave server computers, and upon receiving the commitment request, the server computer functioning as the slave server computer records the commitment receive log.