Skip to content

Fix GAP messages are not sent when there is no Reader requesting the DATA (backport #6181)#6196

Merged
MiguelCompany merged 1 commit into3.3.xfrom
mergify/bp/3.3.x/pr-6181
Dec 9, 2025
Merged

Fix GAP messages are not sent when there is no Reader requesting the DATA (backport #6181)#6196
MiguelCompany merged 1 commit into3.3.xfrom
mergify/bp/3.3.x/pr-6181

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Nov 26, 2025

Description

When Content Filter is being performed on the writer side, and samples are always irrelevant for all readers, currently a heartbeat period is received without notification of the previous GAP sequence of samples, and the readers annotate those samples as lost. This PR fixes this, ensuring that a GAP message is sent before the HEARTBEAT period or before a DATA for one of the readers.

@Mergifyio backport 3.3.x 3.2.x 2.14.x

Contributor Checklist

  • Commit messages follow the project guidelines.

  • The code follows the style guidelines of this project.

  • Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally

  • Any new/modified methods have been properly documented using Doxygen.

  • N/A: Any new configuration API has an equivalent XML API (with the corresponding XSD extension)

  • Changes are backport compatible: they do NOT break ABI nor change library core behavior.

  • Changes are API compatible.

  • N/A: New feature has been added to the versions.md file (if applicable).

  • N/A: New feature has been documented/Current behavior is correctly described in the documentation.

  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • N/A: If this is a critical bug fix, backports to the critical-only supported branches have been requested.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

This is an automatic backport of pull request #6181 done by [Mergify](https://mergify.com).

@cferreiragonz
Copy link
Contributor

@Mergifyio rebase

…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
(cherry picked from commit 062258c)
@mergify
Copy link
Contributor Author

mergify bot commented Dec 4, 2025

rebase

✅ Branch has been successfully rebased

@cferreiragonz cferreiragonz force-pushed the mergify/bp/3.3.x/pr-6181 branch from efa90c9 to 3382ae5 Compare December 4, 2025 07:20
@github-actions github-actions bot added the ci-pending PR which CI is running label Dec 4, 2025
@cferreiragonz cferreiragonz removed the request for review from richiprosima December 4, 2025 07:20
@mergify
Copy link
Contributor Author

mergify bot commented Dec 4, 2025

🧪 CI Insights

Here's what we observed from your CI run for 3382ae5.

❌ Job Failures

Pipeline Job Health on 3.3.x Retries 🔍 CI Insights 📄 Logs
Fast DDS MacOS CI mac-ci / fastdds_test () Unknown 0 View View
Fast DDS Windows CI windows-ci / fastdds_test (RelWithDebInfo, examples), v142 Unknown 0 View View
windows-ci / fastdds_test (RelWithDebInfo, examples), v143 Unknown 0 View View

@cferreiragonz cferreiragonz added ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. and removed ci-pending PR which CI is running labels Dec 9, 2025
@MiguelCompany MiguelCompany merged commit fcd7eb0 into 3.3.x Dec 9, 2025
32 of 38 checks passed
@MiguelCompany MiguelCompany deleted the mergify/bp/3.3.x/pr-6181 branch December 9, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Ready to be merged. CI and changes have been reviewed and approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants