Skip to content

Fix MutationQueue issue resulting in re-sending acknowledged writes. #909

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

Merged
merged 1 commit into from
Mar 12, 2018

Conversation

mikelehen
Copy link
Contributor

Port of: firebase/firebase-js-sdk#559
Fixes #772

getNextMutationBatchAfterBatchId() was not respecting
highestAcknowledgedBatchId and therefore we were resending writes after the
network was disabled / re-enabled.

Port of: firebase/firebase-js-sdk#559
Fixes #772

getNextMutationBatchAfterBatchId() was not respecting
highestAcknowledgedBatchId and therefore we were resending writes after the
network was disabled / re-enabled.
Copy link
Contributor

@wilhuff wilhuff left a comment

Choose a reason for hiding this comment

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

LGTM

@wilhuff wilhuff assigned mikelehen and unassigned wilhuff Mar 12, 2018
@mikelehen mikelehen merged commit f122cf7 into master Mar 12, 2018
@mikelehen mikelehen deleted the mikelehen/enableNetwork-resendWrites branch March 12, 2018 18:53
minafarid pushed a commit to minafarid/firebase-ios-sdk that referenced this pull request Jun 6, 2018
…irebase#909)

Port of: firebase/firebase-js-sdk#559
Should address firebase#772 once released.

getNextMutationBatchAfterBatchId() was not respecting
highestAcknowledgedBatchId and therefore we were resending writes after the
network was disabled / re-enabled.
@firebase firebase locked and limited conversation to collaborators Nov 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Firestore Crash - Mutation batchIDs must be acknowledged in order
3 participants