Project

General

Profile

Subtask #18787

Updated by Jason Dillaman about 6 years ago

The leader would instantiate a proxy of InstanceReplayer that invokes InstanceWatcher notification methods for the specific instance it is associated with. The followers' InstanceWatcher instance would invoke the associated InstanceReplayer API methods for each RPC method received.

New InstanceWatcher RPC messages:
* Image Acquire: sent from leader to peer to transfer ownership of image to a peer
* Image Acquired: separate ACK sent from peer to leader that it now owns replay of the image
* Image Release: send from leader to peer to release ownership of image from peer
* Image Released: separate ACK/NACK ACK sent from peer to leader when it no longer owns replay of the image (might NACK)

Back