Logic clock synchronization method and device and central time service cluster
A logic clock and cluster technology, applied in the field of distributed systems, can solve problems such as affecting the performance of distributed systems and blocking tasks of distributed systems.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0115] Example 1: The logical clock of the master node is 580, and the logical clock of the standby node and the logical clock of the standby node recorded in the master node are both 550. At this time, when the master node receives the timing request a, it advances its own logical clock to 581, Further, the primary node fails. In this way, after the standby node is promoted to master, in order to respond to the timing request a, the logical clock of the standby node for external timing for the first time is: 550+500=1050. Therefore, since 1050>580, the logical clock of the standby node for the first external time service after being promoted to master is not go back.
example 2
[0116] Example 2: The logical clock of the primary node is 580, the logical clock of the standby node recorded by the primary node is 100, and the logical clock of the standby node is 550. At this time, the primary node receives the timing request b and advances its own logical clock 581, and then, the primary node fails. In this way, after the standby node is promoted to the master, in order to respond to the timing request b, the logical clock of the standby node for the first external time service is: 550+500=1050. Therefore, since 1050>580, the logical clock of the standby node for the first external time service after being promoted to the master is not go back.
example 3
[0117] Example 3: The logical clock of the primary node is 580, the logical clock of the standby node recorded by the primary node is 100, and the logical clock of the standby node is 100. At this time, when the primary node receives the timing request c, it advances its own logical clock 581, and then, the primary node fails. In this way, after the standby node is promoted to master, in order to respond to the timing request c, the logical clock of the standby node for external timing for the first time is: 100+500=600. Therefore, since 600>580, the logical clock for the first external timing of the standby node after being promoted to master is not go back.
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap