The embodiment of the invention discloses a data change log collection method and device under a distributed
system, a medium and equipment, and relates to the technical field of data change recording, and the method comprises the steps: in response to a change recording starting instruction initiated by a user, executing an operation conforming to a change recording rule on a working node, and obtaining execution data; before the transaction is submitted, execution data are sent to a target node, and message registration is carried out; wherein the target node is any node in the distributed
system; and when the transaction is submitted, in response to a transaction submission notification initiated by the working node and received by the target node, carrying out a change log collection task at the target node. According to the method and the device, the change
record task is accepted through any node in the distributed
system, so that resources occupied by the main node in the distributed system for maintaining the change
record message are liberated, and change
log data disk dropping is not required to be completed before the transaction is submitted; the target node only starts to change the recorded task after receiving the transaction submission notification, so that redundant
processing caused by transaction
rollback is reduced, and the problem of
transaction time delay caused by waiting for change log dropping before transaction submission is solved.