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

source-mongodb: always emit an updated checkpoint after updateResourceStates #1205

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

williamhbaker
Copy link
Member

@williamhbaker williamhbaker commented Jan 24, 2024

Description:

updateResourceStates may remove bindings from the checkpoint, and these removals won't be reflected in persisted merge patches in future document checkpoints. Because of this, we should always emit a full update to the state checkpoint in Pull after updateResourceStates has run to persist any changes in the state due to bindings being removed.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

(anything that might help someone review this PR)


This change is Reviewable

…ceStates`

`updateResourceStates` may remove bindings from the checkpoint, and these removals won't be reflected
in persisted merge patches in future document checkpoints. Because of this, we should always emit a
full update to the state checkpoint in `Pull` after `updateResourceStates` has run to persist any
changes in the state due to bindings being removed.
@williamhbaker williamhbaker merged commit 5abec15 into main Jan 24, 2024
42 of 44 checks passed
@williamhbaker williamhbaker deleted the wb/mongo-bindings branch January 24, 2024 18:18
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