-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Source: MongoDB - Timestamp microseconds missing in Cursor - Incremental change capture #7556
Labels
area/connectors
Connector related issues
community
connectors/source/mongodb
connectors/sources-database
type/bug
Something isn't working
Comments
@sherifnada , @irynakruk : Could you please prioritize the issue? Due to this, the same set of records is being processed again |
40 tasks
@andriikorotkov : Getting an error after upgrading to source_mogodb_v2:0.1.5.
|
@prconstruct, understood you. I'll post a fix today. |
@andriikorotkov I reopened this issue -- could you add a regression test as part of the fix? |
40 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/connectors
Connector related issues
community
connectors/source/mongodb
connectors/sources-database
type/bug
Something isn't working
Enviroment
Current Behavior
Incremental change capture (cursor) is missing microseconds. Due to this same records are being captured repeatedly.
For example, Lets assume, I have chosen "UpdatedAt" field as cursor. The last processed record "UpdatedAt" timestamp is "2021-11-01 10:59:01.567Z". But the cursor is being captured as "2021-11-01 10:59:01Z". Eventhough there is no changes done at the source, in the next run, the same set of record is captured again because its checking for the records GREATER THAN "2021-11-01 10:59:01Z" so obviously the record which has timestamp "2021-11-01 10:59:01.567Z" is processed again.
Expected Behavior
The cursor should capture the exact data with microseconds (in the above example case, it should capture the cursor as "2021-11-01 10:59:01.567Z")
Steps to Reproduce
Are you willing to submit a PR?
Since I'm not proficient in Java, I'm unable to figure the issue in code.
The text was updated successfully, but these errors were encountered: