-
Notifications
You must be signed in to change notification settings - Fork 793
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
Discovery Server fix reconnection [12522] #2246
Conversation
9879c57
to
a035052
Compare
a035052
to
1b1f1c9
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.
Just a small nit.
@jparisu Also please fix linters |
Test with discovery server PR eProsima/Discovery-Server#45 |
Signed-off-by: jparisu <javierparis@eprosima.com>
Signed-off-by: jparisu <javierparis@eprosima.com>
Signed-off-by: jparisu <javierparis@eprosima.com>
Signed-off-by: jparisu <javierparis@eprosima.com>
c779aee
to
33a309e
Compare
Signed-off-by: jparisu <javierparis@eprosima.com>
Signed-off-by: jparisu <javierparis@eprosima.com>
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.
Code looks good to me, but I still have to verify with the new tests.
It seems like some tests are failing due to time limits, because executing ( |
The time has been slightly increased, it should be enough. |
@richiprosima please test this |
@@ -1755,25 +1755,20 @@ void DiscoveryDataBase::unmatch_participant_( | |||
"Attempting to unmatch an unexisting participant: " << guid_prefix); | |||
} |
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.
I think this find is not necessary
Signed-off-by: jparisu <javierparis@eprosima.com>
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, I'll run a CI just in case
Discovery Server tests with eProsima/Discovery-Server#45: |
I'm concerned about the |
I could replicate the error in local, and it is due to time limit inside the test. Server B dies before Server A Data(Up) could arrive (this could happen because they are different processes and the time could not fit correctly). |
Nice! One more CI run then with eProsima/Discovery-Server#45: |
CI run with updated eProsima/Discovery-Server#45: |
@Mergifyio backport 2.1.x |
* Refs #12522: Fix minor ds errors Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: fix typo Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: apply suggestions Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: Client reconnection fix Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: apply suggestions to fix comment Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: uncrustify Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: Apply new fix Signed-off-by: jparisu <javierparis@eprosima.com> (cherry picked from commit 4368260) # Conflicts: # src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp # src/cpp/rtps/builtin/discovery/participant/PDPServerListener.cpp
✅ Backports have been created
|
@Mergifyio backport 2.3.x |
* Refs #12522: Fix minor ds errors Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: fix typo Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: apply suggestions Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: Client reconnection fix Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: apply suggestions to fix comment Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: uncrustify Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: Apply new fix Signed-off-by: jparisu <javierparis@eprosima.com> (cherry picked from commit 4368260)
✅ Backports have been created
|
Signed-off-by: RaulSanchez <raul@eprosima.com>
* Discovery Server fix reconnection (#2246) * Refs #12522: Fix minor ds errors Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: fix typo Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: apply suggestions Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: Client reconnection fix Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: apply suggestions to fix comment Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: uncrustify Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: Apply new fix Signed-off-by: jparisu <javierparis@eprosima.com> (cherry picked from commit 4368260) # Conflicts: # src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp # src/cpp/rtps/builtin/discovery/participant/PDPServerListener.cpp * Refs #14221: Fix conficts backport #2246 to 2.1.x Signed-off-by: RaulSanchez <raul@eprosima.com> Co-authored-by: jparisu <69341543+jparisu@users.noreply.github.com> Co-authored-by: RaulSanchez <raul@eprosima.com>
* Discovery Server fix reconnection (#2246) * Refs #12522: Fix minor ds errors Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: fix typo Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: apply suggestions Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: Client reconnection fix Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: apply suggestions to fix comment Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: uncrustify Signed-off-by: jparisu <javierparis@eprosima.com> * Refs #12522: Apply new fix Signed-off-by: jparisu <javierparis@eprosima.com> (cherry picked from commit 4368260) * Fix build error Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Co-authored-by: jparisu <69341543+jparisu@users.noreply.github.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
Merge after #2244