-
Notifications
You must be signed in to change notification settings - Fork 119
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
Use unique mangled names when creating Content Filter Topics #762
Conversation
Signed-off-by: Mario Dominguez <[email protected]>
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.
Check linters cpplint
and uncrustify
Signed-off-by: Mario-DL <[email protected]>
@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? |
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 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 created
|
Signed-off-by: Mario Dominguez <[email protected]> Signed-off-by: Mario-DL <[email protected]> (cherry picked from commit 97edce2)
Signed-off-by: Mario Dominguez <[email protected]> Signed-off-by: Mario-DL <[email protected]> (cherry picked from commit 97edce2)
Signed-off-by: Mario Dominguez <[email protected]> Signed-off-by: Mario-DL <[email protected]> (cherry picked from commit 97edce2)
…769) Signed-off-by: Mario Dominguez <[email protected]> Signed-off-by: Mario-DL <[email protected]> (cherry picked from commit 97edce2) Co-authored-by: Mario Domínguez López <[email protected]>
…767) Signed-off-by: Mario Dominguez <[email protected]> Signed-off-by: Mario-DL <[email protected]> (cherry picked from commit 97edce2) Co-authored-by: Mario Domínguez López <[email protected]>
…768) Signed-off-by: Mario Dominguez <[email protected]> Signed-off-by: Mario-DL <[email protected]> (cherry picked from commit 97edce2) Co-authored-by: Mario Domínguez López <[email protected]>
@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