Skip to content
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

[INLONG-7945][Sort] Fix MongoDB CDC unable to output the 'replace' records #7951

Merged
merged 6 commits into from
May 5, 2023

Conversation

e-mhui
Copy link
Contributor

@e-mhui e-mhui commented May 1, 2023

Prepare a Pull Request

[INLONG-7945][Sort] Fix MongoDB CDC unable to output the 'replace' records

Motivation

When executing the command db.tb1.replaceOne({"id": 51}, {"id":51, "name": "replace 51, 51 happy day"}) in MongoDB, the MongoDB CDC is unable to output the event.

Modifications

  1. Remove the restriction on the replace operation.
  2. Refactor the code.

@e-mhui
Copy link
Contributor Author

e-mhui commented May 1, 2023

@kuansix pls review it.

@dockerzhang dockerzhang requested a review from gong May 2, 2023 13:54
@EMsnap EMsnap merged commit 0d80d4d into apache:master May 5, 2023
GanfengTan pushed a commit to GanfengTan/incubator-inlong that referenced this pull request May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug][Sort] MongoDB CDC unable to output the 'replace' records
5 participants