Skip to content

[23819] Send heartbeat when wait_for_all_acked is called#6098

Merged
MiguelCompany merged 2 commits intomasterfrom
feature/23798
Oct 16, 2025
Merged

[23819] Send heartbeat when wait_for_all_acked is called#6098
MiguelCompany merged 2 commits intomasterfrom
feature/23798

Conversation

@MiguelCompany
Copy link
Copy Markdown
Member

@MiguelCompany MiguelCompany commented Oct 14, 2025

Description

This improves the user experience when explicitly expecting acknowledgement of samples on a DataWriter.
Instead of waiting for the periodic heartbeat event to occur, it directly triggers a heartbeat from wait_for_all_acked when necessary.

@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.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Comment thread src/cpp/rtps/writer/StatefulWriter.cpp Outdated
cferreiragonz
cferreiragonz previously approved these changes Oct 14, 2025
Copy link
Copy Markdown
Contributor

@cferreiragonz cferreiragonz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with green CI

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Oct 14, 2025

🧪 CI Insights

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

❌ Job Failures

Pipeline Job Health on master 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

Copy link
Copy Markdown
Contributor

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MiguelCompany thanks for the fix 👍

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
@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 Oct 16, 2025
@MiguelCompany MiguelCompany merged commit db8f527 into master Oct 16, 2025
25 of 28 checks passed
@MiguelCompany MiguelCompany deleted the feature/23798 branch October 16, 2025 05:55
@MiguelCompany
Copy link
Copy Markdown
Member Author

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

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Oct 16, 2025

backport 3.3.x 3.2.x 2.14.x

✅ Backports have been created

Details

mergify Bot pushed a commit that referenced this pull request Oct 16, 2025
* Refs #23798. Add test.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #23798. Send heartbeat when wait_for_all_acked is called.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

---------

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit db8f527)
mergify Bot pushed a commit that referenced this pull request Oct 16, 2025
* Refs #23798. Add test.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #23798. Send heartbeat when wait_for_all_acked is called.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

---------

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit db8f527)
mergify Bot pushed a commit that referenced this pull request Oct 16, 2025
* Refs #23798. Add test.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #23798. Send heartbeat when wait_for_all_acked is called.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

---------

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit db8f527)
juanlofer-eprosima pushed a commit that referenced this pull request Oct 16, 2025
* Refs #23798. Add test.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #23798. Send heartbeat when wait_for_all_acked is called.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

---------

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit db8f527)
MiguelCompany added a commit that referenced this pull request Oct 16, 2025
* Refs #23798. Add test.



* Refs #23798. Send heartbeat when wait_for_all_acked is called.



---------


(cherry picked from commit db8f527)

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
MiguelCompany added a commit that referenced this pull request Oct 17, 2025
* Send heartbeat when wait_for_all_acked is called (#6098)

* Refs #23798. Add test.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #23798. Send heartbeat when wait_for_all_acked is called.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

---------

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit db8f527)

* Uncrustify

Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>

---------

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
Co-authored-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
cferreiragonz pushed a commit that referenced this pull request Nov 5, 2025
* Refs #23798. Add test.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #23798. Send heartbeat when wait_for_all_acked is called.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

---------

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit db8f527)
MiguelCompany added a commit that referenced this pull request Nov 6, 2025
* Refs #23798. Add test.



* Refs #23798. Send heartbeat when wait_for_all_acked is called.



---------


(cherry picked from commit db8f527)

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
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.

4 participants