eProsima / Fast-DDS-statistics-backend

eProsima Fast DDS Statistics Backend is a C++ library that provides collection and procession the statistics measurements reported by Fast DDS Statistics Module. Looking for commercial support? Contact info@eprosima.com
https://eprosima.com
Apache License 2.0
17 stars 9 forks source link

[20256] Reject old samples #231

Open jepemi opened 7 months ago

jepemi commented 7 months ago

When using a DDS Router, since statistics writers are transient local, previously processed samples might be delivered again to statistics backend participants in other domains. This lead to crashes since new delivered count samples (transient local - late joiner) got lower values than the last processed.

With this PR we are rejecting old samples