Using Tcp transport, readers nerver be notified that writers are lost or disconnected,after discovery server and writer process were killed. #4034
-
Is there an already existing issue for this?
Expected behaviorUsing Tcp transport, when discovery server and writer process killed,after keep_alive_frequency_ms,the readers should be notified writers are lost or disconnected and drop matching status. Current behaviorUsing Tcp transport, when discovery server and writer process killed,the readers nerver be notified writers are lost or disconnected ,and still they are matching after keep_alive_frequency_ms. Steps to reproduce
Fast DDS version/commitFastDDS [v2.11.2] Platform/ArchitectureUbuntu Focal 20.04 amd64 Transport layerTCPv4 Additional contextNo response XML configuration fileNo response Relevant log outputNo response Network traffic captureNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @chunyisong, I'm afraid what you are experiencing is a design decision regarding Discovery Server. When using DS, the participant liveliness is kept by the Server participants, so the Clients do not keep it between them (this is done to reduce discovery traffic). That being said, you can configure the LivelinessQosPolicy of your DataWriters to Alternatively, a year ago we did a proof of concept for having a mode in which the participant lease is kept between DS clients (you can find it here, although I cannot guarantee that it's functional); you could contact eProsima's commercial support to move that feature forward. In any case, I'm moving this issue to the appropriate discussion forum according to the policies outlined our contribution guidelines. |
Beta Was this translation helpful? Give feedback.
Hi @chunyisong,
I'm afraid what you are experiencing is a design decision regarding Discovery Server. When using DS, the participant liveliness is kept by the Server participants, so the Clients do not keep it between them (this is done to reduce discovery traffic). That being said, you can configure the LivelinessQosPolicy of your DataWriters to
MANUAL_BY_TOPIC
, as the writer liveliness protocol in that case is kept between writers and readers.Alternatively, a year ago we did a proof of concept for having a mode in which the participant lease is kept between DS clients (you can find it here, although I cannot guarantee that it's functional); you could contact eProsima's commercial suppo…