摘要 |
One embodiment of the present invention provides a system for facilitating an upgrade of a cluster of servers in the presence of one or more inaccessible nodes in the cluster. During operation, the system receives an instruction to upgrade an older version of a distributed software program installed on each of a plurality of nodes forming the cluster. The system installs and activates a newer version of software on a subset of the plurality of nodes, the subset having fewer nodes than the entire cluster. The system receives an instruction to forcibly upgrade the cluster. Subsequently, the system upgrades the cluster so that the subset of nodes operate with the newer version of software, in which each node remains a member of the cluster during the upgrade. |