The invention discloses a transaction identifier-based multi-computer-room synchronization method, computing equipment and a storage medium. The method comprises the following steps: reading a first write data log record in a log file of a first machine room, and judging whether a domain identifier contained in a transaction identifier of the first write data log record is consistent with a domain identifier corresponding to the first machine room or not; if yes, performing synchronous data writing operation in a second machine room according to the first data writing log record, and recording a second data writing log record of the synchronous data writing operation and a transaction identifier of the second data writing log record in a log file of the second machine room, wherein the domain identifier contained in the transaction identifier of the second write data log record is set as the domain identifier corresponding to the first computer room; if not, neglecting the synchronization of the first write data log record, so that loop replication is broken, the problem of replication loopback in multi-machine-room bidirectional synchronization is solved, and the data synchronization efficiency is further improved due to the fact that the judgment process is simple.