Disaster recovery method and device for double available areas, electronic equipment and storage medium

A technology of disaster recovery and preset duration, applied in the database field, which can solve the problem that the standby availability zone cannot meet the data consistency and other problems

Pending Publication Date: 2022-01-28
PINGCAP XINGCHEN (BEIJING) TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing technology, once the primary availability zone fails, the backup availability zone cannot meet the data consistency requirements

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Disaster recovery method and device for double available areas, electronic equipment and storage medium
  • Disaster recovery method and device for double available areas, electronic equipment and storage medium
  • Disaster recovery method and device for double available areas, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and should not be construed as limiting the present invention.

[0047] Those skilled in the art will understand that the singular forms "a", "an" and "the" used herein may also include plural forms unless otherwise stated. It should be further understood that the word "comprising" used in the description of the present application refers to the presence of features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, Steps, operations, elements, components and / or groups thereof. It will be und...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a disaster recovery method and device for double available areas, electronic equipment and a storage medium, and relates to the technical field of databases. The method comprises the steps that if it is determined that connection of the dual-available area is normal, a leader node elected according to all nodes in the dual-available area receives a request, and logs generated according to the request are synchronized to the dual-available area. Compared with the prior art, the disaster recovery capability with the recovery point target being 0 can be provided.

Description

technical field [0001] The present application relates to the technical field of databases, and in particular, the present application relates to a dual availability zone disaster recovery method, device, electronic equipment and storage medium. Background technique [0002] Native distributed relational databases (compared to database sub-database and sub-table middleware solutions such as MySQL or Postgres SQL) generally use distributed consensus algorithms such as Raft and Paxos to achieve multi-copy disaster recovery, and rely on these consensus algorithms to achieve automatic High availability features with failover capability. Take Raft as an example. Raft is a voting system that follows the majority agreement. In a Raft group, if a member receives the votes of the majority of members, its membership status will change to the leader. That is to say, when a Raft group still retains a majority of members, it can elect a leader to provide external services. [0003] In ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/27G06F16/28
CPCG06F16/275G06F16/284
Inventor 李建俊黄梦龙秦天爽
Owner PINGCAP XINGCHEN (BEIJING) TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products