3.3.1.2 Replicated Folder Session State Machine

The Distributed File System: Replication (DFS-R) Protocol requires that a client establishes a session for each replicated folder that is configured on a connection. All replication activity takes place within one such session. The following state diagram specifies the state machine for replicating content on replicated folder. In this initial state, it is assumed that the state machine that establishes a connection has reached its terminal state. It introduces the following replicated folder session states.

  • Restart: A client has not established a replication session for a replicated folder. When transitioning to the Restart state following a session error or a session termination, the client cancels or waits for all outstanding RPC calls for the given replicated folder to complete before calling the EstablishSession method again.

  • InSession: The client has established a replicated folder session with the server for a replicated folder.

  • Requesting Version Vector: The client has registered a request for notification when the server's version chain vector changes.

  • Poll Again: The client has been notified of a version chain vector change by the server and has registered a request for the server's version chain vector.

  • Requesting Updates: The client has received the server's version chain vector and is requesting updates based on the received version chain vector.

Main update request state machine

Figure 6: Main update request state machine