×

Distributed file system using consensus nodes

  • US 9,846,704 B2
  • Filed: 07/31/2015
  • Issued: 12/19/2017
  • Est. Priority Date: 01/12/2005
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of implementing a distributed file system comprising a cluster comprising a plurality of data nodes configured to store data blocks of client files, the method comprising:

  • coupling a first active metadata server computer to the plurality of data nodes of the cluster via a network and configuring the first active metadata server computer to store a first replica of a namespace of the cluster in a first memory;

    receiving via the network and executing, by the first active metadata server computer, a first request from a first client computer of the cluster to make a first change to a state of the first replica of the namespace of the cluster;

    coupling a second active metadata server computer to the plurality of data nodes of the cluster and configuring the second active metadata server computer to store a second replica of a namespace of the cluster in a second memory;

    receiving via the network and executing, by the second active metadata server computer, a second request from a second client computer of the cluster to make a second change to a state of the second replica of the namespace of the cluster while the first active metadata server computer is executing the first request from the first client computer of the cluster to make the first change to the state of the first replica of the namespace;

    receiving, by a coordination engine computer, the first and second requests, serializing the received requests and generating an ordered global sequence of agreements that specifies an order in which the first and second active metadata server computers are to change the stored first and second replicas of the state of the namespace of the cluster, respectively;

    maintaining the first and second replicas of the namespace of the cluster consistent with one another by configuring the first and second active metadata server computers to make changes to the stored state of the first and second replicas of the namespace of the cluster only after having received the ordered global sequence of agreements and in the order specified by the received ordered global sequence of agreements; and

    setting a communication timeout configured such that, if one of the first and second active metadata server computers having received a client request has not responded thereto at an expiry of the communication timeout, the client request is transmitted to the other one of the first and second active metadata server computers.

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