instance

8 posts / 0 new
Last post
Offline
Last seen: 2 weeks 1 day ago
Joined: 09/10/2022
Posts: 30
Remove instance from persistence service's database using filesystem

Hi,

I use rti v6.0.0

Im using persistence service. I set the "datawriter durability qos" in my project in "persistent". And i set the xml for that saves datas in file system.

When i unregister an instance that registered before, i expect that the instance won't publish by persistence service even when datawriter that calls dispose destructed and removed from domain. But unexpectedly when i destruct datawriter that caled unregister_instance persistence service publishes that instance from its history.

 

1 post / 0 new
njc
Offline
Last seen: 10 years 8 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
Offline
Last seen: 4 years 5 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