-
公开(公告)号:US11360854B2
公开(公告)日:2022-06-14
申请号:US16862591
申请日:2020-04-30
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Siyi Zhou , Feng Liang , Yanan Zhi , Xihua Huang
Abstract: Various embodiments provide a storage cluster configuration change method, an apparatus, a computer system, and the like. In a storage cluster that uses a consensus replication protocol, when half of storage nodes become faulty, if it is determined that at least one storage node exists in the storage cluster after the fault, and a latest log index number of the storage node is greater than or equal to an index number of a committed log provided by the storage cluster for a client, an arbitration module sends a forced cluster configuration change instruction to a fault-free storage node. The forced cluster configuration change instruction is used to instruct the fault-free storage node to change local cluster configuration information.
-
公开(公告)号:US11128718B2
公开(公告)日:2021-09-21
申请号:US16023532
申请日:2018-06-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
IPC: H04L12/26 , H04L29/08 , H04L12/911
Abstract: The method, an apparatus and a system for implementing a heartbeat mechanism, so as to reduce a quantity of heartbeat responses sent by a node, and reduce unnecessary resource consumption in a distributed database system. The solution includes: obtaining, a heartbeat request sent by a first node to a second node; recording, a first moment, wherein the first moment is a moment that the heartbeat request is received; querying, according to the identity of the second node from cached information, a second moment, wherein the second moment is a moment that the switching node most recently, where the cached information stores a correspondence between a moment at which the switching node receives a message and an identity of the node; and if an absolute value of a difference between the first moment and the second moment is less than a threshold, sending a heartbeat response to the first node.
-
公开(公告)号:US20200257593A1
公开(公告)日:2020-08-13
申请号:US16862591
申请日:2020-04-30
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Siyi Zhou , Feng Liang , Yanan Zhi , Xihua Huang
IPC: G06F11/14 , G06F11/20 , G06F16/18 , G06F16/901 , H04L12/751 , H04L12/721
Abstract: Various embodiments provide a storage cluster configuration change method, an apparatus, a computer system, and the like. In a storage cluster that uses a consensus replication protocol, when half of storage nodes become faulty, if it is determined that at least one storage node exists in the storage cluster after the fault, and a latest log index number of the storage node is greater than or equal to an index number of a committed log provided by the storage cluster for a client, an arbitration module sends a forced cluster configuration change instruction to a fault-free storage node. The forced cluster configuration change instruction is used to instruct the fault-free storage node to change local cluster configuration information.
-
-