-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[19687] Fix updatability of immutable DataWriterQos #3915
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
Mario-DL
approved these changes
Oct 9, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch. We were not updating immutable QoS if DataWriter was disabled.
Refactor makes the seq_qos()
more readable. I recognize I struggled interpreting the meaning of the old is_default
bool.
LGTM with green CI.
This was referenced Oct 9, 2023
asan failures clearly unrelated with this PR |
MiguelCompany
added a commit
that referenced
this pull request
Oct 10, 2023
* Refs #19687. Add regression test. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Rename argument. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Refactor on DataWriterImpl::set_qos. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]>
MiguelCompany
added a commit
that referenced
this pull request
Oct 10, 2023
* Refs #19687. Add regression test. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Rename argument. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Refactor on DataWriterImpl::set_qos. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]>
MiguelCompany
added a commit
that referenced
this pull request
Oct 10, 2023
* Refs #19687. Add regression test. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Rename argument. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Refactor on DataWriterImpl::set_qos. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]>
MiguelCompany
added a commit
that referenced
this pull request
Oct 26, 2023
* Updatable disable_positive_acks period (#3879) * Refs #19576: Test Update positive_acks period on RTPS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19567: Fix Update positive_acks period on RTPS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Test Update positive_acks period on DDS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Fix ack_timer and Updatability of positive_acks on DDS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Uncrustify fix Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Fix linux ci Signed-off-by: cferreiragonz <[email protected]> * Ref #19576: DataReaderImpl update and updateAttributes call Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Fix mac-ci Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: move if clause Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b84825a) * Fix updatability of immutable DataWriterQos (#3915) * Refs #19687. Add regression test. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Rename argument. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Refactor on DataWriterImpl::set_qos. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> * Fix build after rebase Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Carlos Ferreira <[email protected]> Co-authored-by: Miguel Company <[email protected]>
MiguelCompany
added a commit
that referenced
this pull request
Oct 26, 2023
* Updatable disable_positive_acks period (#3879) * Refs #19576: Test Update positive_acks period on RTPS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19567: Fix Update positive_acks period on RTPS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Test Update positive_acks period on DDS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Fix ack_timer and Updatability of positive_acks on DDS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Uncrustify fix Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Fix linux ci Signed-off-by: cferreiragonz <[email protected]> * Ref #19576: DataReaderImpl update and updateAttributes call Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Fix mac-ci Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: move if clause Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b84825a) * Fix updatability of immutable DataWriterQos (#3915) * Refs #19687. Add regression test. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Rename argument. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Refactor on DataWriterImpl::set_qos. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> * Fix build after rebase Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Carlos Ferreira <[email protected]> Co-authored-by: Miguel Company <[email protected]>
MiguelCompany
added a commit
that referenced
this pull request
Oct 30, 2023
* Updatable disable_positive_acks period (#3879) * Refs #19576: Test Update positive_acks period on RTPS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19567: Fix Update positive_acks period on RTPS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Test Update positive_acks period on DDS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Fix ack_timer and Updatability of positive_acks on DDS Layer Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Uncrustify fix Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Fix linux ci Signed-off-by: cferreiragonz <[email protected]> * Ref #19576: DataReaderImpl update and updateAttributes call Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: Fix mac-ci Signed-off-by: cferreiragonz <[email protected]> * Refs #19576: move if clause Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b84825a) # Conflicts: # test/blackbox/api/dds-pim/PubSubWriter.hpp * Fix Mergify conflict * Fix updatability of immutable DataWriterQos (#3915) * Refs #19687. Add regression test. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Rename argument. Signed-off-by: Miguel Company <[email protected]> * Refs #19687. Refactor on DataWriterImpl::set_qos. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> * Fixed log macro. Signed-off-by: Miguel Company <[email protected]> * Fix build error. Signed-off-by: Miguel Company <[email protected]> * Remove unused header Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Carlos Ferreira <[email protected]> Co-authored-by: Carlos Ferreira <[email protected]> Co-authored-by: Miguel Company <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes a regression introduced in #3879.
It adds a regression test and also refactors the method performing the DataWriterQos assignment.
This regression was discovered while reviewing the backports, so it does not need to be automatically backported.
Its merge commit should be cherry-picked in the backports for #3879 instead.
Contributor Checklist
versions.md
file (if applicable).Related documentation PR: [19687] Fix documentation on immutable DataWriterQos Fast-DDS-docs#575
Reviewer Checklist