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

Fix bookmarking late record updates during sync #227

Conversation

RushiT0122
Copy link
Contributor

Description of change

To handle records updated between start of the table sync and the end, store the current sync start in the state and not move the bookmark past this value.

Manual QA steps

Risks

Rollback steps

  • revert this branch

@@ -1,14 +1,19 @@
from tap_hubspot import sync_deals
from unittest.mock import patch, ANY

# from debugpy import listen, wait_for_client
# listen(8000)
# wait_for_client()
Copy link
Member

Choose a reason for hiding this comment

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

remove these debugger lines

@RushiT0122 RushiT0122 marked this pull request as ready for review April 25, 2023 15:39
@RushiT0122 RushiT0122 merged commit 5808e21 into update-contacts-bookmarking-strategy Apr 25, 2023
kethan1122 added a commit that referenced this pull request Apr 26, 2023
* use sync start time to bookmark contacts stream

* Fix bookmarking late record updates during sync (#227)

* update bookmarking for records updated between sync
* fix bookmarking and interrupted sync integration tests
* update unit test

---------

Co-authored-by: RushiT0122 <[email protected]>

* Changelog and version bump

---------

Co-authored-by: RushiT0122 <[email protected]>
Co-authored-by: kethan1122 <[email protected]>
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