A distributed storage system upgrade management method performed by a scheduling node in a distributed storage system, wherein the distributed storage system comprises a plurality of nodes, and each node belongs to at least one group; and the method comprises: • obtaining a constraint condition of each group in the distributed storage system, wherein the constraint condition comprises a maximum quantity of nodes in each group that are allowed to be upgraded in parallel, wherein nodes belonging to a same group have a same function or belong to a same physical area (step 101); • determining a first upgrade solution based on the constraint condition of each group, wherein the first upgrade solution comprises: grouping the plurality of nodes into at least one batch, wherein all nodes in each batch meet each constraint condition (step 102), wherein the determining the first upgrade solution based on the constraint condition of each group comprises: a. selecting, from the plurality of nodes, a node that is not upgraded (step 301); b. determining whether another node that is not upgraded in the plurality of nodes except the node that is not upgraded and each selected node that is not upgraded meet the constraint condition of each group (step 302), and if the another node and each selected node that is not upgraded meet the constraint condition of each group, selecting the another node that is not upgraded, until all the nodes that are not upgraded in the plurality of nodes are traversed (step 304); and c. grouping, into a batch, all the nodes that are not upgraded and that are selected in a and b (step 306); and repeating the process from a to c for nodes that are not upgraded and that are not selected, until batch division is completed for all the nodes that are not upgraded; and • sending an upgrade instruction to the plurality of nodes in each batch according to the first upgrade solution (step 103). • obtaining a constraint condition of each group in the distributed storage system, wherein the constraint condition comprises a maximum quantity of nodes in each group that are allowed to be upgraded in parallel, wherein nodes belonging to a same group have a same function or belong to a same physical area (step 101); • determining a first upgrade solution based on the constraint condition of each group, wherein the first upgrade solution comprises: grouping the plurality of nodes into at least one batch, wherein all nodes in each batch meet each constraint condition (step 102), wherein the determining the first upgrade solution based on the constraint condition of each group comprises: a. selecting, from the plurality of nodes, a node that is not upgraded (step 301); b. determining whether another node that is not upgraded in the plurality of nodes except the node that is not upgraded and each selected node that is not upgraded meet the constraint condition of each group (step 302), and if the another node and each selected node that is not upgraded meet the constraint condition of each group, selecting the another node that is not upgraded, until all the nodes that are not upgraded in the plurality of nodes are traversed (step 304); and c. grouping, into a batch, all the nodes that are not upgraded and that are selected in a and b (step 306); and repeating the process from a to c for nodes that are not upgraded and that are not selected, until batch division is completed for all the nodes that are not upgraded; and a. selecting, from the plurality of nodes, a node that is not upgraded (step 301); b. determining whether another node that is not upgraded in the plurality of nodes except the node that is not upgraded and each selected node that is not upgraded meet the constraint condition of each group (step 302), and if the another node and each selected node that is not upgraded meet the constraint condition of each group, selecting the another node that is not upgraded, until all the nodes that are not upgraded in the plurality of nodes are traversed (step 304); and c. grouping, into a batch, all the nodes that are not upgraded and that are selected in a and b (step 306); and • sending an upgrade instruction to the plurality of nodes in each batch according to the first upgrade solution (step 103).