Skip to content

fix: mongo collection regex match logic#2503

Merged
Jiabao-Sun merged 1 commit intoapache:masterfrom
yuxiqian:fix/mongo-collection-regex-match
Sep 18, 2023
Merged

fix: mongo collection regex match logic#2503
Jiabao-Sun merged 1 commit intoapache:masterfrom
yuxiqian:fix/mongo-collection-regex-match

Conversation

@yuxiqian
Copy link
Copy Markdown
Member

Commit 44cd46e introduces a change that using [.] as delimiter between database name and collection name to avoid conflicts between dot (.) and regex meta character. However this turns out to be unnecessary since in Regex mode, full qualified names will always be used and no pasting will be performed then, and such change will deteriorate performance.

This PR reverts the change above.

@yuxiqian
Copy link
Copy Markdown
Member Author

Copy link
Copy Markdown
Contributor

@Jiabao-Sun Jiabao-Sun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @yuxiqian for this contribution.
LGTM.

@Jiabao-Sun Jiabao-Sun merged commit 35c112d into apache:master Sep 18, 2023
@yuxiqian yuxiqian deleted the fix/mongo-collection-regex-match branch September 18, 2023 09:22
e-mhui pushed a commit to e-mhui/flink-cdc-connectors that referenced this pull request Oct 18, 2023
GOODBOY008 pushed a commit to GOODBOY008/flink-cdc that referenced this pull request Oct 30, 2023
GOODBOY008 pushed a commit to GOODBOY008/flink-cdc that referenced this pull request Oct 30, 2023
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants