-
Notifications
You must be signed in to change notification settings - Fork 775
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
[20584] Effectively assert automatic/manual_by_participant liveliness #4501
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
@richiprosima please test linux test discovery_server |
Mario-DL
added
needs-review
PR that is ready to be reviewed
ci-pending
PR which CI is running
labels
Mar 5, 2024
@Mergifyio rebase |
✅ Branch has been successfully rebased |
MiguelCompany
force-pushed
the
bugfix/20584
branch
from
March 11, 2024 15:47
a3469d5
to
703d3d6
Compare
MiguelCompany
requested changes
Mar 13, 2024
MiguelCompany
previously approved these changes
Mar 13, 2024
@richiprosima please test this |
MiguelCompany
approved these changes
Mar 14, 2024
@richiprosima please test this |
@Mergifyio rebase master |
Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
… writer announcement period and lease duration test's writers Signed-off-by: Mario Dominguez <[email protected]>
✅ Branch has been successfully rebased |
@richiprosima please test this |
@Mergifyio backport 2.13.x 2.10.x 2.6.x |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Mar 21, 2024
* Refs #20584: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Update LivelinessManager tests Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Linter Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Apply reviewer suggestions Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix PubSubParticipant comparison and add padding between writer announcement period and lease duration test's writers Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit f708244)
12 tasks
mergify bot
pushed a commit
that referenced
this pull request
Mar 21, 2024
* Refs #20584: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Update LivelinessManager tests Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Linter Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Apply reviewer suggestions Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix PubSubParticipant comparison and add padding between writer announcement period and lease duration test's writers Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit f708244)
12 tasks
mergify bot
pushed a commit
that referenced
this pull request
Mar 21, 2024
* Refs #20584: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Update LivelinessManager tests Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Linter Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Apply reviewer suggestions Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix PubSubParticipant comparison and add padding between writer announcement period and lease duration test's writers Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit f708244)
12 tasks
EduPonz
pushed a commit
that referenced
this pull request
Mar 26, 2024
…#4596) * Refs #20584: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Update LivelinessManager tests Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Linter Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Apply reviewer suggestions Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix PubSubParticipant comparison and add padding between writer announcement period and lease duration test's writers Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit f708244) Co-authored-by: Mario Domínguez López <[email protected]>
EduPonz
pushed a commit
that referenced
this pull request
Mar 28, 2024
…#4594) * Refs #20584: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Update LivelinessManager tests Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Linter Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Apply reviewer suggestions Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix PubSubParticipant comparison and add padding between writer announcement period and lease duration test's writers Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit f708244) Co-authored-by: Mario Domínguez López <[email protected]>
MiguelCompany
pushed a commit
that referenced
this pull request
Mar 30, 2024
* Refs #20584: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Update LivelinessManager tests Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Linter Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Apply reviewer suggestions Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix PubSubParticipant comparison and add padding between writer announcement period and lease duration test's writers Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit f708244)
MiguelCompany
pushed a commit
that referenced
this pull request
Mar 31, 2024
…#4595) * Refs #20584: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Update LivelinessManager tests Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Linter Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Apply reviewer suggestions Signed-off-by: Mario Dominguez <[email protected]> * Refs #20584: Fix PubSubParticipant comparison and add padding between writer announcement period and lease duration test's writers Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit f708244) Co-authored-by: Mario Domínguez López <[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 brings a bugfix when asserting
AUTOMATIC
MANUAL_BY_PARTICIPANT
liveliness kinds. In the scenario of having a participant with two datareaders (each of them with a lease duration of 2 secs) and other two participants with one publisher each one configured withAUTOMATIC_LIVELINESS
. If we suddenly kill one of the publishers (network disconnection or Ctrl+C), theon_liveliness_changed()
is not received on the reader side when we would expect it to happen (after 2 secs).The problem stems from the fact that currently, in the reader-side participant, it is enough having an alive writer with the same kind (
AUTOMATIC_LIVELINESS
) to assert the liveliness of all of its readers with the same kind regardless of the participant.This PR makes the liveliness assertion participant-aware by means of the
guidPrefix
.@Mergifyio backport 2.13.x 2.12.x 2.10.x 2.6.x
Fixes #4373
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist