Data processing method, main node and storage medium

The invention provides a data processing method. The method comprises the steps that: a main node in a cluster receives and writes to-be-written data sent by a client; the master node sends the to-be-written data to at least one slave node in the cluster; if the master node receives first confirmati...

Full description

Saved in:
Bibliographic Details
Main Authors SUN ZIZHOU, SONG WENGE, LIU CHANGXIN
Format Patent
LanguageChinese
English
Published 10.12.2021
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention provides a data processing method. The method comprises the steps that: a main node in a cluster receives and writes to-be-written data sent by a client; the master node sends the to-be-written data to at least one slave node in the cluster; if the master node receives first confirmation information sent by a first slave node in all the slave nodes, the fact that the to-be-written data is successfully written into the cluster is confirmed; and the first confirmation information is used for indicating that the first slave node successfully writes the to-be-written data. The invention further provides a main node and a storage medium, through the data processing method, the main node and the storage medium provided by the invention, when the data is written, the data writing frequency can be reduced, and then the delay caused by multiple writing operations is reduced. 本申请提供了一种数据处理方法,包括:集群中的主节点接收并写入客户端发送的待写入数据;所述主节点将所述待写入数据发送至所述集群中的至少一个从节点;若所述主节点接收到全部所述从节点中的第一从节点发送的第一确认信息,则确认所述待写入数据成功写入至所述集群中;所述第一确
Bibliography:Application Number: CN202110925774