Data synchronization method and relevant device
The embodiment of the invention discloses a data synchronization method and a relevant device. The method comprises the steps that a main node acquires redoing logs of a changed page during transaction submission, and a page identifier of the changed page, a current transaction snapshot and log seri...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a data synchronization method and a relevant device. The method comprises the steps that a main node acquires redoing logs of a changed page during transaction submission, and a page identifier of the changed page, a current transaction snapshot and log serial numbers are recorded; the main node writes the redoing logs into a storage node, and the redoinglogs are used for the storage node to fix data in the changed page; and the main node sends an invalidity instruction message to a slave node, wherein the invalidity instruction message contains the page identifier, the current transaction snapshot and the log serial numbers and is used for instructing a data page corresponding to an invalid page identifier of the slave node, determining version information of a data page visible to the message according to the current transaction snapshot and acquiring a data page successfully fixed through a target redoing log from the storage node, and theserial number of the targe |
---|