×

Instance-based distributed data recovery method and apparatus

  • US 10,783,163 B2
  • Filed: 11/27/2015
  • Issued: 09/22/2020
  • Est. Priority Date: 08/20/2015
  • Status: Active Grant
First Claim
Patent Images

1. An instance-based distributed data recovery method for a distributed data system, the distributed data system comprising a database cluster that includes at least one master node and a plurality of non-master nodes, and a distributed file system that includes a database including multiple primary storage units and multiple secondary storage units, wherein, during normal operation when the master node and the non-master nodes are all running online, the primary storage units are managed by respective ones of the plurality of non-master nodes and the multiple secondary storage units are managed by the master node, and wherein each of the multiple secondary storage units stores indexes of multiple primary storage units, and each of the multiple primary storage units stores one instance, the method comprising:

  • detecting, by the master node, one of the non-master nodes going down;

    allocating, by the master node, multiple secondary storage units that index multiple primary storage units managed by the non-master node that is going down to at least one online node, an online node being a non-master node that remains online;

    performing, by the online node to which the multiple secondary storage units have been allocated by the master node, hash grouping on instances stored on logs of the non-master node that is going down and allocating the instances to multiple threads inside the online node; and

    recovering, by the online node, data of the multiple primary storage units managed by the non-master node that is going down in parallel in the multiple threads.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×