Node Down Recovery Method and Apparatus, Electronic Device, and Storage Medium

A method and apparatus for recovery from node crash, an electronic device, and a storage medium are provided. The method is applicable to a proxy server in a master-slave system. The master-slave system further includes a target master node controlled by the proxy server and a target slave node corr...

Full description

Saved in:
Bibliographic Details
Main Author Shen, Hang
Format Patent
LanguageEnglish
Published 19.11.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method and apparatus for recovery from node crash, an electronic device, and a storage medium are provided. The method is applicable to a proxy server in a master-slave system. The master-slave system further includes a target master node controlled by the proxy server and a target slave node corresponding to the target master node. If the target master node and the target slave node crash, the proxy server obtains a pre-stored persistent file from the target slave node. The target slave node stores a backup of cache data cached in the target master node, and the persistent file is generated based on cache data in the target slave node. A target master node that does not crash is deployed based on the persistent file; and a target slave node corresponding to the target master node that does not crash is deployed. In this solution, after the target master node and the target slave node both crash, the master- slave system can be recovered to a normal working state.
Bibliography:Application Number: US201816766031