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

Advance the oplog bookmark when no records are synced #79

Merged
merged 5 commits into from
Apr 14, 2022

Conversation

luandy64
Copy link
Contributor

@luandy64 luandy64 commented Apr 14, 2022

Description of change

This PR writes a bookmark for oplog streams that don't sync records.

This is to prevent the scenarios where a collection doesn't get very many updates and the bookmark we have in state goes stale.

QA steps

  • automated tests passing
  • manual qa steps passing (list below)

Risks

Rollback steps

  • revert this branch

@cosimon cosimon merged commit 9c456d8 into optimize-oplog-only-current-ns Apr 14, 2022
@cosimon cosimon deleted the oplog-bookmarking branch April 14, 2022 19:22
cosimon added a commit that referenced this pull request Apr 15, 2022
* include ns in oplog query

* Advance the oplog bookmark when no records are synced (#79)

* Write state if we didn't sync anything for a stream

* Add test

* Bump to v2.1.0 and update changelog

Co-authored-by: Andy Lu <andy@stitchdata.com>
Co-authored-by: Collin Simon <csimon@talend.com>
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.

None yet

2 participants