Distributed transaction consistency realization method and device

The invention discloses a distributed transaction consistency realization method and device, which are used for a distributed transaction system. The distributed transaction consistency realization device comprises a global timestamp generation server, a coordination node and a data node. The distri...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: KANG JUNBIN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a distributed transaction consistency realization method and device, which are used for a distributed transaction system. The distributed transaction consistency realization device comprises a global timestamp generation server, a coordination node and a data node. The distributed transaction consistency realization method comprises the following steps: applying for a submission timestamp to the global timestamp generation server when the coordination node submits a transaction; submitting timestamps and writing the timestamps into transaction logs and timestamp storageof participated coordination nodes and data nodes; and when the transaction is started, applying a starting timestamp of the transaction to the global timestamp generation server to carry out transaction visibility judgment; and applying a start time stamp of the transaction to the global time stamp generation server when the transaction is started. According to the distributed transaction consistency realization method