-
Notifications
You must be signed in to change notification settings - Fork 791
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
Fix buffers exhaution when compiled with statistics [12629] #2243
Conversation
Signed-off-by: Juan López Fernández <juanlopez@eprosima.com>
Signed-off-by: Juan López Fernández <juanlopez@eprosima.com>
Signed-off-by: Juan López Fernández <juanlopez@eprosima.com>
Signed-off-by: Juan López Fernández <juanlopez@eprosima.com>
Signed-off-by: Juan López Fernández <juanlopez@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 with greenish CI!
Signed-off-by: Juan López Fernández <juanlopez@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.
👍 Much nicer solution!
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.
in file src/fastdds/test/mock/rtps/RTPSMessageGroup/fastdds/rtps/messages/RTPSMessageGroup.h
update the constructors so they allow the arguments with default values. It fails the compilation with certain CMake args otherwise:
"-DCMAKE_BUILD_TYPE=Debug",
"-DEPROSIMA_BUILD=OFF",
"-DCOMPILE_EXAMPLES=ON",
"-DFASTDDS_STATISTICS=OFF",
"-DSHM_TRANSPORT_DEFAULT=OFF",
"-DEPROSIMA_BUILD_TESTS=ON",
"-DGTEST_INDIVIDUAL=OFF",
Signed-off-by: Juan López Fernández <juanlopez@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
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
Unrelated failures. Going in. |
Commit 14d3323 broke init_monitor_tests from Fast-DDS-statistics-backend.
The reason is that, when compiled with statistics, a new async flow controller is created but the same number of buffers are preallocated, leading to a resource exhaution and falling into a hangup state.