Distributed processing method and apparatus based on consistency protocol, and storage medium

The invention discloses a distributed processing method based on a consistency protocol. The method comprises the following steps: sending a proposal preparation request, wherein the proposal preparation request carries a first proposal serial number and is used for indicating to request the commitm...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: MA TONGXING
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 processing method based on a consistency protocol. The method comprises the following steps: sending a proposal preparation request, wherein the proposal preparation request carries a first proposal serial number and is used for indicating to request the commitment of other nodes: no longer accepting a fast writing operation initiated by a leader node in whicha leader proposal serial number is less than the first proposal serial number, the first proposal serial number expresses the leader proposal serial number of the current node, and the leader proposal serial number expresses the proposal serial number of any node when becoming a leader node; and when it is determined that a proposal commitment is received from a preset number of nodes in the other nodes, enabling the fast writing operation starting from a second proposal serial number determined based on the proposal commitment, wherein the proposal commitment carries the first proposal serial number. According to th