A log processing method, comprising: obtaining (S301), by a first node during initialization, a status message of a storage node cluster, wherein the status message marks a master storage node of the storage node cluster; and the first node is a master compute node that has a write operation capability and a read operation capability in a compute node cluster; sending (S302), by the first node, a first write operation request to the master storage node , wherein the master storage node is determined based on the status message, wherein the first write operation request is used to request the master storage node to agree on a first write operation with a slave storage node, wherein the first write operation is agreed on after the master storage node agrees on a received log with a slave storage node in the storage node cluster, wherein the received log is received before the first write operation request; and receiving (S306), by the first node, a feedback message, wherein the feedback message is sent by the master storage node after the master storage node agrees on the first write operation with a slave storage node in the storage node cluster, wherein the feedback message comprises identification information and a response to the first write operation request, and the identification information is used to indicate a LSN -last sequence number- of the agreed log, so that the first node learns the latest LSN of the agreed log in the master storage node and wherein the master storage node agreeing with the slave storage node on the log that is received means that the master storage node synchronizes the received log to more than half of the nodes in the storage node cluster. obtaining (S301), by a first node during initialization, a status message of a storage node cluster, wherein the status message marks a master storage node of the storage node cluster; and the first node is a master compute node that has a write operation capability and a read operation capability in a compute node cluster; sending (S302), by the first node, a first write operation request to the master storage node , wherein the master storage node is determined based on the status message, wherein the first write operation request is used to request the master storage node to agree on a first write operation with a slave storage node, wherein the first write operation is agreed on after the master storage node agrees on a received log with a slave storage node in the storage node cluster, wherein the received log is received before the first write operation request; and receiving (S306), by the first node, a feedback message, wherein the feedback message is sent by the master storage node after the master storage node agrees on the first write operation with a slave storage node in the storage node cluster, wherein the feedback message comprises identification information and a response to the first write operation request, and the identification information is used to indicate a LSN -last sequence number- of the agreed log, so that the first node learns the latest LSN of the agreed log in the master storage node and wherein the master storage node agreeing with the slave storage node on the log that is received means that the master storage node synchronizes the received log to more than half of the nodes in the storage node cluster. <EOS>