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

Use inclusive comparison for emitting records #44

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

dmosorast
Copy link
Contributor

https://stitchdata.atlassian.net/browse/SUP-892

A bug was introduced when we last refactored the sync where we request records using gte, but emit records using a strictly greater than comparison on the bookmark. This could cause records at the date window boundary to be missed.

It affects immutable streams (balance_transactions and events) and any records that have not been updated (the update code does not have this issue, since it is aware that events may have the same created time and specifically uses strict > to always emit the most recent event).

Co-Author: @jacobrobertbaca

@dmosorast dmosorast merged commit b3d88c3 into master Oct 23, 2019
@dmosorast dmosorast deleted the fix/use-inclusive-bookmark-check branch October 23, 2019 15:42
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