1 post / 0 new
Last seen: 9 years 11 months ago
Joined: 08/09/2012
Posts: 17
Instance state and network partitions

Say there is a single reader and writer on two separate nodes on a network. The writer is writing a single instance. They are using (automatic) liveness QoS. The application is reading data from the data reader via on_data_available of the DataReaderListener and it has received at least one sample of the instance. Now, there is a network parition. Because of the liveness QoS, the data reader will eventually be notified via on_data_available that the instance is in the NOT_ALIVE_NO_WRITERS state.

2 posts / 0 new
Last post
asanchez's picture
Last seen: 3 years 9 months ago
Joined: 11/16/2011
Posts: 50
Unregistered instance not received

Hi all,

I have an application with one DataWriter and one DataReader that catches when an instance is unregistered. It does the following:

- on the publisher side: After all the work is done, the only DataWriter calls unregister_instance() and exits (thus the DataWriter is deleted).

Subscribe to RSS - instance