You are here: Part 3: Advanced Concepts > Mechanisms for Achieving Information Durability and Persistence > Introduction > Scenario 2: DataReader Restarts While DataWriter Stays Up (Durable Reader State)

Scenario 2: DataReader Restarts While DataWriter Stays Up (Durable Reader State)

In this scenario, two DomainParticipants join a domain; one creates a DataWriter and the other a DataReader on the same Topic. The DataWriter publishes some data ("a" and "b") that is received by the DataReader. After this, the DataReader shuts down (gracefully or due to a fault) and then restarts—all while the DataWriter remains present in the domain.

Depending on whether the DataReader is configured with Durable Reader State, the DataReader may or may not receive a duplicate copy of the data it received before it restarted. This is illustrated in Figure 2. For more information, see Durable Reader State.

Figure 2 Durable Reader State

© 2016 RTI