Use unique mangled names when creating Content Filter Topics#762
Use unique mangled names when creating Content Filter Topics#762ahcorde merged 2 commits intoros2:rollingfrom
Conversation
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
ahcorde
left a comment
There was a problem hiding this comment.
Check linters cpplint and uncrustify
Signed-off-by: Mario-DL <mariodominguez@eprosima.com>
|
@Mario-DL thanks for the PR. i would like to clarify that,
before this fix, we cannot have the content filtered topic on the topic within the same participant, correct? and that is the problem to address with this PR? |
fujitatomoya
left a comment
There was a problem hiding this comment.
lgtm with green CI.
I would like to ask someone from eProsima to review this.
Before this fix, we cannot have more than one content filter on the same topic within the same participant. Correct.
We already did, since @Mario-DL works at eProsima. See my approval here |
|
@ahcorde thanks for taking care of CI. @Mario-DL @MiguelCompany how does it sound that we backport this to |
@fujitatomoya it sounds great. I think it makes sense to backport |
|
@Mergifyio backport iron humble jazzy |
✅ Backports have been createdDetails
|
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com> Signed-off-by: Mario-DL <mariodominguez@eprosima.com> (cherry picked from commit 97edce2)
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com> Signed-off-by: Mario-DL <mariodominguez@eprosima.com> (cherry picked from commit 97edce2)
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com> Signed-off-by: Mario-DL <mariodominguez@eprosima.com> (cherry picked from commit 97edce2)
|
@Mario-DL @MiguelCompany Just FYI, all backports up to humble completed. |
Thank you very much @fujitatomoya ! |
This PR makes every Content Filter Name unique by adding a static atomic counter. With this change, two or more content-filtered subscriptions can be created for the same topic name.
Tests are included in the following related PRs