1. A server in a distributed transaction processing system in which a master server performs a distributed transaction processing in cooperation with a plurality of slave servers that performs a local transaction processing, the server having both a function of the master server and a function of a slave server, 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 that is accessible from both the master server and the slave servers; and a fault recovery unit that performs a fault recovery based on the log data.