恢复算法

recovery algorithm