-
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
[21170] Fix DS servers not connecting due to ports logic #4941
Conversation
@richiprosima please test_3 discovery-server |
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.
LGTM with green Tsan CI. I think we can set it as ready to review
f231133
to
73056ea
Compare
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.
LGTM with uncrustify fixed and green CI
@Mergifyio backport 2.14.x 2.13.x 2.10.x 2.6.x |
✅ Backports have been created
|
@cferreiragonz There's a warning in windows. Could you take a look? |
@richiprosima Please test_3 discovery-server |
1 similar comment
@richiprosima Please test_3 discovery-server |
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.
LGTM with uncrustify and CI green
Signed-off-by: cferreiragonz <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
Signed-off-by: cferreiragonz <[email protected]>
4744a3b
to
1d732cc
Compare
@richiprosima Please test_3 discovery-server |
* Refs #21170: Add DS servers connection test Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Support DS servers connection Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Revision Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Fix Windows build & comment Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b441560)
* Refs #21170: Add DS servers connection test Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Support DS servers connection Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Revision Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Fix Windows build & comment Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b441560)
* Refs #21170: Add DS servers connection test Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Support DS servers connection Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Revision Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Fix Windows build & comment Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b441560)
* Refs #21170: Add DS servers connection test Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Support DS servers connection Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Revision Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Fix Windows build & comment Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b441560)
* Refs #21170: Add DS servers connection test Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Support DS servers connection Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Revision Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Fix Windows build & comment Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b441560) Co-authored-by: Carlos Ferreira González <[email protected]>
* Refs #21170: Add DS servers connection test Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Support DS servers connection Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Revision Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Fix Windows build & comment Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b441560) Co-authored-by: Carlos Ferreira González <[email protected]>
* Refs #21170: Add DS servers connection test Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Support DS servers connection Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Revision Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Fix Windows build & comment Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b441560) Co-authored-by: Carlos Ferreira González <[email protected]>
* Refs #21170: Add DS servers connection test Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Support DS servers connection Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Revision Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Uncrustify Signed-off-by: cferreiragonz <[email protected]> * Refs #21170: Fix Windows build & comment Signed-off-by: cferreiragonz <[email protected]> --------- Signed-off-by: cferreiragonz <[email protected]> (cherry picked from commit b441560) Co-authored-by: Carlos Ferreira González <[email protected]>
Description
This PR fixes a bug that was avoiding discovery when a DS server tries to connect to another server which has a smaller physical port. The logic implemented in #4586 needs to be used to fix the issue.
It also adds support to automatically set the logical port of remote servers when the participant
discoveryProtocol
is configured asDiscoveryProtocol::SERVER
, which was missing.@Mergifyio backport 2.14.x 2.13.x 2.10.x 2.6.x
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist