Academia.eduAcademia.edu

The View Discovery protocol addresses two main difficulties: (1) it enables processes joining and leaving the system to learn about the current membership of the system, (2) it is crucial to ensure the consistency, validity and totality properties of DBRB since it supplies information about views “instantiated” by the protocol and associated quorum systems. We formally discuss the View Discovery protocol in the full version of the paper [14].  4.2 Broadcast  In order to broadcast some message m, processes in DBRB use the following types of messages: PREPARE: When a correct process s invokes a DBRB-BROADCAST(m) operation, the algorithm creates & Mprepare = (PREPARE, ™, CUs) message, where cv, is the current view of the system of process s. Message Mprepare is sent to every process that is a member of cvs (Algorithm 4). Process s disseminates the PREPARE message if cu, is installed by s; otherwise, s does not disseminate the message to members of cv, (Algorithm 4), but rather waits to install some view and then disseminates the PREPARE message (Algorithm 4).  ACK: When a correct process q receives Mprepare Message, q firstly checks whether view specified in Mprepare is equal to the current view of g (Algorithm 4). If that is the case, q checks whether it is allowed to send an ACK message for m (see Consistency paragraph in §5; Algorithm 4) and if it is, g sends Mack = (ACK, m, 0, cvg) message to process s (i.e., the  Pe: eee igre S wake 2. wees EO De pl pel ed eed ee ee eee i ce A RR a oN,

Table 3 The View Discovery protocol addresses two main difficulties: (1) it enables processes joining and leaving the system to learn about the current membership of the system, (2) it is crucial to ensure the consistency, validity and totality properties of DBRB since it supplies information about views “instantiated” by the protocol and associated quorum systems. We formally discuss the View Discovery protocol in the full version of the paper [14]. 4.2 Broadcast In order to broadcast some message m, processes in DBRB use the following types of messages: PREPARE: When a correct process s invokes a DBRB-BROADCAST(m) operation, the algorithm creates & Mprepare = (PREPARE, ™, CUs) message, where cv, is the current view of the system of process s. Message Mprepare is sent to every process that is a member of cvs (Algorithm 4). Process s disseminates the PREPARE message if cu, is installed by s; otherwise, s does not disseminate the message to members of cv, (Algorithm 4), but rather waits to install some view and then disseminates the PREPARE message (Algorithm 4). ACK: When a correct process q receives Mprepare Message, q firstly checks whether view specified in Mprepare is equal to the current view of g (Algorithm 4). If that is the case, q checks whether it is allowed to send an ACK message for m (see Consistency paragraph in §5; Algorithm 4) and if it is, g sends Mack = (ACK, m, 0, cvg) message to process s (i.e., the Pe: eee igre S wake 2. wees EO De pl pel ed eed ee ee eee i ce A RR a oN,