The embodiment of the invention provides a
metadata log replay
processing method and device,
electronic equipment and a storage medium. The method comprises the steps of obtaining a
metadata log event, performing local
verification on the
metadata log event, if the metadata log event is a non-local operation, extracting a metadata field, comparing the metadata field with a preset local index node, and performing
data processing according to an operation type when the creation time of the metadata field is updated; updating a file version number based on a preset version incremental rule, and generating dimension control information in combination with the creation time; according to the dimension control information, the
data processing process is packaged into a transaction of a preset
key value database to be executed, and whether the instruction fails or not is detected; and if the execution result and the dimension control information are successfully written, the preset local index node is updated, and if the execution result and the dimension control information are failed, the operation is revoked in a
reverse order and recovered to a transaction pre-encapsulation state. The method is used for guaranteeing the
atomicity of metadata log replay, avoiding data residues, solving the problem of metadata synchronization inconsistency and improving the reliability of metadata log replay.