Patent ID: 11892918
Assignee: NUTANIX, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 16:
17. A non-transitory computer-readable media comprising computer-readable instructions stored thereon that when executed by a processor cause the processor to:
receive a request to apply a patch on a plurality of nodes, one of the plurality of nodes being a primary replica node and remaining nodes of the plurality of nodes being a secondary replica node;
select a next node from the plurality of nodes to patch based on a first priority, wherein the first priority is assigned such that each of the secondary replica node is selected before the primary replica node, and wherein the first priority is dynamically updated each time before selecting the next node based on a current state of the plurality of nodes;
select a failover target node based on a second priority to patch the primary replica node after patching the each of the secondary replica node; and
patch the primary replica node upon failing over the primary replica node to the failover target node,

wherein according to the second priority, a healthy synchronous secondary replica node is selected as the failover target node before an unhealthy synchronous secondary replica node.