Skip to content

[INLONG-8594][Sort] Fix SourceRecord range check of MongoDB CDC - #8595

Merged
dockerzhang merged 1 commit into
apache:masterfrom
e-mhui:INLONG-8594
Jul 27, 2023
Merged

[INLONG-8594][Sort] Fix SourceRecord range check of MongoDB CDC#8595
dockerzhang merged 1 commit into
apache:masterfrom
e-mhui:INLONG-8594

Conversation

@e-mhui

@e-mhui e-mhui commented Jul 27, 2023

Copy link
Copy Markdown
Contributor

Prepare a Pull Request

[INLONG-8594][Sort] Fix SourceRecord range check of MongoDB CDC

Motivation

When change record is chunk range of snapshot phase, MongoDB cannot output the record. The method MongoDBFetchTaskContext#isRecordBetween is not work.

image image

Modifications

Fix MongoDBFetchTaskContext#isRecordBetween checking function.

@e-mhui e-mhui changed the title [INLONG-8594][Sort] Fix SourceRecord range check of Mongodb CDC [INLONG-8594][Sort] Fix SourceRecord range check of MongoDB CDC Jul 27, 2023
@dockerzhang
dockerzhang merged commit 945e844 into apache:master Jul 27, 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] When change record is chunk range of snapshot phase, MongoDB cannot rewrite the record

3 participants