Research Article

A Novel Low-Overhead Recovery Approach for Distributed Systems

Algorithm 2

For each process 𝑃 𝑘 and 1 𝑖 𝑛 , 𝑖 𝑘
if 𝑆 i k 𝑥 > 𝑅 k i 𝑥
𝑃 records these sequence numbers ( 𝑅 k i 𝑥 + 1 ) to 𝑆 i k 𝑥 in lost-from- 𝑃 𝑘 𝑖 ;
// messages with sequence numbers ( 𝑅 k i 𝑥 + 1 ) to 𝑆 i k 𝑥 are
the lost messages from 𝑃 𝑖 to 𝑃 𝑘 .
𝑃 forms the total order of all lost messages sent by every 𝑃 𝑖 , 𝑖 𝑘 to 𝑃 𝑘
using lost-from- 𝑃 𝑘 𝑖 and the message log M E S G 𝑘 for 𝑃 𝑘 ;