The invention particularly relates to a distributed
time series data cross-node atomic writing and
transaction management method. According to the distributed
time series data cross-node atomic writing and
transaction management method, a coordination node receives a
time series writing request, generates a unique TID and issues the unique TID; the storage node writes the data into a pre-write log WAL, marks the data as pending, and establishes mapping between the TID and log entries; the cooperative node sends a pre-submission instruction, and the node responds after being ready; and if
verification is passed,
broadcasting submission is carried out, a formal storage update version is written, otherwise,
rollback is carried out, operation is cancelled according to WAL, and finally associated logs and states are cleared. According to the distributed time
series data cross-node atomic write-in and
transaction management method, end-to-end
atomicity, consistency,
low delay and rapid
recovery of cross-node time
series data write-in are achieved, a write-in path only needs one-time WAL write-in, synchronous blocking is avoided, and the concurrent
throughput performance is remarkably improved; and the scheme does not invade an upper-layer application interface, and can be reused in any distributed storage
system supporting the WAL.