-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Dequeue limbo resolutions when their respective queries are stopped #7455
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
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
0e247b0
sync_engine.cc: implement the fix
dconeybe d4b33b8
Update spec tests and fix parsing of "userListen" entries
dconeybe c1ddd42
limbo_spec_test.json: add test cases from https://github.com/firebase…
dconeybe dd08bd7
sync_engine.cc: formatted with ./scripts/check.sh
dconeybe 9e7889e
Implemented LimboResolutionQueue
dconeybe 64a2737
sync_engine.h/cc: formatted with ./scripts/check.sh
dconeybe 125eb5d
Add entry to Firestore/CHANGELOG.md
dconeybe 9aebc47
sync_engine.cc/h: Tweak the API of LimboResolutionQueue to reduce cha…
dconeybe f10df20
Merge remote-tracking branch 'origin/master' into LimboRemoveFromQueu…
dconeybe d5f7595
Fixed change log merge
dconeybe c43e51b
sync_engine.h: Mark the QueueEntry constructor as 'explicit'
dconeybe e80445b
Clean up LimboResolutionQueue and move it to util, and other code rev…
dconeybe 4d594e7
Implemented some unit tests
dconeybe 8984d81
Complete the unit tests for RandomAccessQueue
dconeybe 6ba35d8
Add random_access_queue_test.cc to Firestore.xcodeproj/project.pbxproj
dconeybe 3bbcd51
A bit of code and documentation cleanup
dconeybe 8ee6097
Merge remote-tracking branch 'origin/master' into LimboRemoveFromQueu…
dconeybe 081640c
Address code review feedback, most notably, replacing QueueElementsEq…
dconeybe 3378cdd
Merge remote-tracking branch 'origin/master' into LimboRemoveFromQueu…
dconeybe c5c802b
random_access_queue.h: format code
dconeybe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should explain what the user visible impact is (as you did in Android).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Android, there was a clear link between the fix and the user-facing bug; however, there is no such link on iOS (or web). The user-facing bug appeared to be Android-specific since two independent users reported that the bug only surfaced on Android. So I'm not sure there is anything to call out here for iOS, other than a performance improvement. Also, this change log text was copied nearly verbatim for the corresponding change in the Web SDK (https://github.com/firebase/firebase-js-sdk/pull/4395/files#diff-45e189ed0b5ae6e81e5711aa7152c1224e6aae39afa93c98e80994b7f89a2aea)