File tree Expand file tree Collapse file tree
src/cpp/rtps/builtin/discovery/database Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1155,7 +1155,8 @@ void DiscoveryDataBase::match_writer_reader_(
11551155
11561156 // If reader is virtual OR not local, do not exchange info. Servers do not redirect Data(p) of remote clients.
11571157 // Otherwise, writer needs all the info from this endpoint
1158- if (!reader_info.is_virtual () && reader_participant_info.is_local ())
1158+ if (!reader_info.is_virtual () &&
1159+ (reader_participant_info.is_local () || writer_participant_info.is_superclient ()))
11591160 {
11601161 // Only if they do not have the info yet
11611162 if (!reader_participant_info.is_relevant_participant (writer_guid.guidPrefix ))
@@ -1235,7 +1236,8 @@ void DiscoveryDataBase::match_writer_reader_(
12351236
12361237 // If reader is external OR virtual, do not exchange info. Servers do not redirect Data(p) of remote clients.
12371238 // Otherwise, reader needs all the info from this endpoint
1238- if (reader_participant_info.is_local () && !reader_info.is_virtual ())
1239+ if (reader_participant_info.is_local () &&
1240+ (!reader_info.is_virtual () || reader_participant_info.is_superclient ()))
12391241 {
12401242 // Only if they do not have the info yet
12411243 if (!writer_participant_info.is_relevant_participant (reader_guid.guidPrefix ))
You can’t perform that action at this time.
0 commit comments