Distributed lock state synchronization method based on updating sequence

The invention relates to a distributed lock state synchronization method based on an update sequence, which is mainly and technically characterized in that the update sequence is set on each slave node lock object, a master node maintains the record of the lock state held by each slave node, and the...

Full description

Saved in:
Bibliographic Details
Main Authors ZHOU YONGLIANG, MA YUE, CHEN ZHENWEI, YU KAI, JIANG XU, LIU BINAN, WU SONG, LI BIN
Format Patent
LanguageChinese
English
Published 18.12.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to a distributed lock state synchronization method based on an update sequence, which is mainly and technically characterized in that the update sequence is set on each slave node lock object, a master node maintains the record of the lock state held by each slave node, and the update sequence is set on each record; the slave node sends a locking request to the master node; the master node carries out locking processing according to the lock state of the request node and returns a locking success message, or sends an unlocking request to a conflict node holding a lock atpresent; the slave node performs unlocking processing according to the slave node lock state and returns an unlocking success message; the master node checks the current updating sequence of the conflict node lock state and tries to lock again; and the slave node checks the current updating sequence of the lock state and tries to lock again. The method is reasonable in design, can effectively maintain the consistency of t
Bibliography:Application Number: CN202010993803