Skip to content

Commit

Permalink
Inject historical data as unregistered when the proxy writer is not (…
Browse files Browse the repository at this point in the history
…yet?) discovered

Signed-off-by: TheFixer <[email protected]>
  • Loading branch information
TheFixer committed Jan 2, 2024
1 parent 72257c2 commit 20699ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ddsc/src/dds_reader.c
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,8 @@ dds_return_t dds_reader_store_historical_serdata (dds_entity_t reader, dds_guid_
ret = DDS_RETCODE_BAD_PARAMETER;
goto fail_tk_builtin;
}
/* historical data is always unregistered */
if (!ddsi_builtintopic_is_visible(gv->builtin_topic_interface, &ddsiguid, ddsi_get_entity_vendorid(&rd->e))) {
/* inject historical data as unregistered when the proxy writer is not (yet?) discovered */
if (ddsi_entidx_lookup_proxy_writer_guid (gv->entity_index, &ddsiguid) == NULL) {
serdata->statusinfo |= DDSI_STATUSINFO_UNREGISTER;
}
/* set the writer guid of the serdata */
Expand Down

0 comments on commit 20699ca

Please sign in to comment.