Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Fault processing method and device, server and storage medium

A fault handling method and server technology, applied in the computer field, can solve problems such as difficult self-healing of business traffic, achieve rapid self-healing, reduce manual intervention, and improve high availability

Active Publication Date: 2021-01-08
北京顺达同行科技有限公司
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, open source tools that provide high availability and read-write separation generally exist independently. When a database failure occurs, manual intervention is required, and business traffic is difficult to heal itself.

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
  • Fault processing method and device, server and storage medium
  • Fault processing method and device, server and storage medium
  • Fault processing method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0062] In the description of the present application, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " The orientation or positional relationship indicated by "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation shown in the drawings Or positional relationship is only for the convenience of describing the present application and simplifying...

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 invention provides a fault processing method and device, a server and a storage medium. The method is applied to the server, and comprises the steps: detecting whether a master database has a fault or not; if yes, determining a new master database from at least one slave database, and performing fault switching on the master database; obtaining a routing configuration file; calling a routing configuration tool through first middleware to modify routing information in the routing configuration file to obtain an updated routing configuration file; and if the second middleware detects that the routing information in the routing configuration file is changed, reloading the updated routing configuration file, and reestablishing data connection between the second middleware and the new master database. According to the method, routing information of the read-write separation middleware is automatically modified through the self-developed routing configuration tool, so that the high availability of the database is improved, the manual intervention is reduced, the labor cost is saved, and the quick self-healing of the service flow is realized.

Description

technical field [0001] The present application mainly relates to the computer field, and specifically relates to a fault handling method, device, server and storage medium. Background technique [0002] As an infrastructure for storing data, databases are widely used in fields such as computers and network communications. In the face of problems such as large data volume, complex business and high response delay requirements, the use of database clusters can separate reads and writes and improve the system performance of the database. A database cluster usually includes a master database and one or more slave databases, wherein the master database is responsible for writing data, the slave database is responsible for reading data, and the slave database backs up data from the master database. When the primary database fails, the secondary database can be promoted to the primary database, thereby reducing the downtime of the business and ensuring high availability of the dat...

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
IPC IPC(8): G06F16/21G06F16/27G06F11/14G06F9/445
CPCG06F9/4451G06F11/1435G06F11/1482G06F16/21G06F16/27
Inventor 任冠亚
Owner 北京顺达同行科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products