-
Notifications
You must be signed in to change notification settings - Fork 934
Update overlay migration code to use DbMutationBatchStore #6268
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
Update overlay migration code to use DbMutationBatchStore #6268
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
* Integrate Document Overlay with the SDK (#6123) * Integrate Document Overlay with the SDK. * we should call ObjectValue.delete if value is null. * Remove unnecessary null check from MemoryDocumentOverlayCache.saveOverlay(), like is done in firebase/firebase-android-sdk#3518 * Address comments. * Port changes from Android SDK PR#3420. Note that we are not going to do any processing in the background. * Port overlay recalculation bug (Android SDK PR #3495). * Fix overlay bug when offline (Port Android SDK PR #3537). * Address feedback. * Better null check. Co-authored-by: Denver Coneybeare <[email protected]> * Overlay migration (#6131) * Overlay migration * Remove intermediate state. * Add test. * Address feedback. * Update overlay migration code to use DbMutationBatchStore (#6268) * wip. * remove console.log. * remove .only for test. * lint fixes. * Backport overlay bug fixes (Android PR 3691 3623) (#6274) * Porting Android PR #3623. * Port Android PR #3691. * address feedback and add missing tests. Co-authored-by: Denver Coneybeare <[email protected]>
Use the mutations store (
DbMutationBatchStore
), rather than mutation queue (DbMutationQueueStore
) to get the set of documents needed for overlay migration for each user.