-
Notifications
You must be signed in to change notification settings - Fork 778
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
[20311] Add missing TypeLookup listeners #4335
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
irenebm
force-pushed
the
bugfix/typelookup_listeners
branch
from
January 31, 2024 08:25
c1cc01a
to
110106f
Compare
irenebm
changed the title
Add listener classes to handle cache change acknowledgments
TypeLookup listener classes to handle cache change acknowledgments
Feb 21, 2024
EduPonz
changed the title
TypeLookup listener classes to handle cache change acknowledgments
[20311] TypeLookup listener classes to handle cache change acknowledgments
Feb 21, 2024
EduPonz
suggested changes
Feb 21, 2024
include/fastdds/dds/builtin/typelookup/TypeLookupReplyListener.hpp
Outdated
Show resolved
Hide resolved
irenebm
changed the title
[20311] TypeLookup listener classes to handle cache change acknowledgments
[20311] Add missing TypeLookup listeners
Feb 21, 2024
irenebm
force-pushed
the
bugfix/typelookup_listeners
branch
from
February 21, 2024 10:26
110106f
to
524d2a0
Compare
@richiprosima please test this |
EduPonz
suggested changes
Feb 21, 2024
Signed-off-by: Irene Bandera <irenebandera@eprosima.com>
Signed-off-by: Irene Bandera <irenebandera@eprosima.com>
Signed-off-by: Irene Bandera <irenebandera@eprosima.com>
Signed-off-by: Irene Bandera <irenebandera@eprosima.com>
Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz
force-pushed
the
bugfix/typelookup_listeners
branch
from
February 22, 2024 11:10
3291c6b
to
dd7575a
Compare
@richiprosima please test this |
EduPonz
approved these changes
Feb 22, 2024
@Mergifyio backport 2.12.x 2.10.x 2.6.x |
✅ Backports have been created
|
This was referenced Feb 22, 2024
EduPonz
added a commit
that referenced
this pull request
Feb 24, 2024
* Add listener classes to handle cache change acknowledgments Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Uncrustify Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Fix memory leaks in TypeLookupManager.cpp * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Refs #20311: Further refactor TypeLookupManager::create_endpoints Signed-off-by: EduPonz <eduardoponz@eprosima.com> --------- Signed-off-by: Irene Bandera <irenebandera@eprosima.com> Signed-off-by: EduPonz <eduardoponz@eprosima.com> Co-authored-by: EduPonz <eduardoponz@eprosima.com> (cherry picked from commit 6cb5ebb) Signed-off-by: EduPonz <eduardoponz@eprosima.com>
EduPonz
pushed a commit
that referenced
this pull request
Feb 24, 2024
* Add listener classes to handle cache change acknowledgments Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Uncrustify Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Fix memory leaks in TypeLookupManager.cpp * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Refs #20311: Further refactor TypeLookupManager::create_endpoints Signed-off-by: EduPonz <eduardoponz@eprosima.com> --------- Signed-off-by: Irene Bandera <irenebandera@eprosima.com> Signed-off-by: EduPonz <eduardoponz@eprosima.com> Co-authored-by: EduPonz <eduardoponz@eprosima.com> (cherry picked from commit 6cb5ebb)
EduPonz
pushed a commit
that referenced
this pull request
Mar 5, 2024
* Add listener classes to handle cache change acknowledgments Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Uncrustify Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Fix memory leaks in TypeLookupManager.cpp * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Refs #20311: Further refactor TypeLookupManager::create_endpoints Signed-off-by: EduPonz <eduardoponz@eprosima.com> --------- Signed-off-by: Irene Bandera <irenebandera@eprosima.com> Signed-off-by: EduPonz <eduardoponz@eprosima.com> Co-authored-by: EduPonz <eduardoponz@eprosima.com> (cherry picked from commit 6cb5ebb) Co-authored-by: Irene Bandera Moreno <irenebandera@eprosima.com>
MiguelCompany
pushed a commit
that referenced
this pull request
Mar 7, 2024
* Add listener classes to handle cache change acknowledgments * Uncrustify * Fix memory leaks in TypeLookupManager.cpp * Apply changes * Apply changes * Refs #20311: Further refactor TypeLookupManager::create_endpoints --------- (cherry picked from commit 6cb5ebb) Signed-off-by: Irene Bandera <irenebandera@eprosima.com> Signed-off-by: EduPonz <eduardoponz@eprosima.com> Co-authored-by: Irene Bandera Moreno <irenebandera@eprosima.com> Co-authored-by: EduPonz <eduardoponz@eprosima.com>
Mario-DL
pushed a commit
that referenced
this pull request
Mar 7, 2024
* Add listener classes to handle cache change acknowledgments Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Uncrustify Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Fix memory leaks in TypeLookupManager.cpp * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Refs #20311: Further refactor TypeLookupManager::create_endpoints Signed-off-by: EduPonz <eduardoponz@eprosima.com> --------- Signed-off-by: Irene Bandera <irenebandera@eprosima.com> Signed-off-by: EduPonz <eduardoponz@eprosima.com> Co-authored-by: EduPonz <eduardoponz@eprosima.com>
cferreiragonz
pushed a commit
that referenced
this pull request
Mar 11, 2024
* Add listener classes to handle cache change acknowledgments * Uncrustify * Fix memory leaks in TypeLookupManager.cpp * Apply changes * Apply changes * Refs #20311: Further refactor TypeLookupManager::create_endpoints --------- (cherry picked from commit 6cb5ebb) Signed-off-by: Irene Bandera <irenebandera@eprosima.com> Signed-off-by: EduPonz <eduardoponz@eprosima.com> Co-authored-by: Irene Bandera Moreno <irenebandera@eprosima.com> Co-authored-by: EduPonz <eduardoponz@eprosima.com>
Mario-DL
pushed a commit
that referenced
this pull request
Apr 2, 2024
* Add listener classes to handle cache change acknowledgments Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Uncrustify Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Fix memory leaks in TypeLookupManager.cpp * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Apply changes Signed-off-by: Irene Bandera <irenebandera@eprosima.com> * Refs #20311: Further refactor TypeLookupManager::create_endpoints Signed-off-by: EduPonz <eduardoponz@eprosima.com> --------- Signed-off-by: Irene Bandera <irenebandera@eprosima.com> Signed-off-by: EduPonz <eduardoponz@eprosima.com> Co-authored-by: EduPonz <eduardoponz@eprosima.com>
EduPonz
added a commit
that referenced
this pull request
Apr 4, 2024
* Add listener classes to handle cache change acknowledgments * Uncrustify * Fix memory leaks in TypeLookupManager.cpp * Apply changes * Apply changes * Refs #20311: Further refactor TypeLookupManager::create_endpoints --------- Signed-off-by: Irene Bandera <irenebandera@eprosima.com> Signed-off-by: EduPonz <eduardoponz@eprosima.com> Co-authored-by: Irene Bandera Moreno <irenebandera@eprosima.com> Co-authored-by: EduPonz <eduardoponz@eprosima.com>
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 pull request addresses an issue where Fast DDS fails to discover certain types when receiving a significant number of dynamic types (approximately 25).
This PR implements the
onWriterChangeReceivedByAll
listener for bothTypeLookupReplyListener
andTypeLookupRequestListener
. This enables the deletion of changes received by all readers matched with the writer from the history. It prevents theCacheChange
from becoming saturated, thus enabling the system to accommodate further changes effectively.@Mergifyio backport 2.12.x 2.10.x 2.6.x
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist