Paxos instance update method, apparatus and system
An instance update and device technology, applied in the field of distributed computing, can solve the problems of low execution efficiency of the paxos algorithm, and achieve the effect of solving the low execution efficiency, simplifying the paxos algorithm, and improving the execution efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example I
[0040] Step 101: The proposal node executes the learning process, obtains the instance information of the approved paxos instance under the current plan, and obtains the instance ID of the paxos instance to be updated;
[0041] Step 102: The proposal node judges whether the paxos instance to be updated is the first paxos instance under the current plan according to the instance information of the approved paxos instance;
[0042] Step 103: When the paxos instance to be updated is the first paxos instance of the current plan, the proposal node directly initiates an approval request to all approval nodes with the instance ID and the agreed minimum serial number;
[0043] Step 104: When the paxos instance to be updated is not the first paxos instance of the current plan, the proposal node executes the preparation process with the instance ID, determines the serial number, and sends all The approval node initiates an approval request;
[0044] Step 105: After the approval request...
example ID1
[0056] Step 205: The proposal node extracts the instance information of the approved paxos instance from the response, and obtains the instance ID1 of the paxos instance to be updated;
[0057] Specifically, in this embodiment, the proposal node can add 1 to the instance ID in the instance information of the approved paxos instance to obtain the instance ID1 of the paxos instance that needs to be updated, for example, the instance in the instance information of the approved paxos instance When the ID is 0, the instance ID1 of the paxos instance that needs to be updated is 1, and if the instance ID in the instance information of the approved paxos instance is 2, the instance ID1 of the paxos instance that needs to be updated is 3, not here Let me repeat.
[0058] Step 206: The proposal node judges whether the paxos instance to be updated is the first paxos instance under the current plan according to the instance information of the approved paxos instance, if yes, proceed to st...
example
[0073] Step 211: The proposal node initiates an approval request to all approval nodes with the instance ID1, serial number SN1 and value of the paxos instance;
[0074] In practical applications, if the responses received by the proposing node are all OK messages, an approval request with the content of is initiated to all approving nodes. If some of the received responses are , ..., the proposal node finds the response with the largest sequence number among all the responses, and corrects the value of the current paxos instance to this response and initiate an approval request with the corrected value and the current serial number SN1. Assuming that the response with the largest sequence number is , the proposal node corrects the value of the current paxos instance to Vx, and initiates an approval request with the content of .
[0075] Step 212: Each approval node receives the approval request, judges whether to accept the approval request, if yes, approves the paxos insta...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com