US Patent No. 10,558,531

SYSTEMS AND METHODS FOR BACKUP AND RESTORE OF MASTER-LESS DISTRIBUTED DATABASE CLUSTERS


Patent No. 10,558,531
Issue Date February 11, 2020
Title Systems And Methods For Backup And Restore Of Master-less Distributed Database Clusters
Inventorship Priya Sehgal, Pune (IN)
Atish Kathpal, Bangalore (IN)
Assignee NETAPP, INC., Sunnyvale, CA (US)

Claim of US Patent No. 10,558,531

1. A machine implemented method for a distributed, master-less database cluster having a plurality of nodes each executing a database application and storing at least a portion of a database for the cluster, comprising:capturing a topology of the distributed, master-less database cluster prior to a first phase of a backup operation;
associating token information of each node with a logical storage object of a shared storage system that stores data of the database for each node on behalf of the database application; wherein the token information is based on a hash value of a portion of the data of the database;
generating a snapshot of all logical storage objects associated with each of the plurality of nodes during the first phase;
storing token information of each node with backup metadata for the snapshot of all the logical storage objects during the first phase, where the token information determines what data is stored by each node for the database;
initiating a second phase of the backup operation at a recovery node using the backup metadata from the first phase of the backup operation;
cloning snapshots of all the logical storage objects from the first phase of the backup operation;
flushing information from a commit log for each node to data containers of the database;
creating a new backup logical storage object as a read and write object for storing a cluster consistent backup of the database; and
mounting clones of the snapshots of all the logical storage objects from the first phase of the backup operation as read only objects.