Skip to content

Delete Overlay Flag #3211

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 4 commits into from
Dec 8, 2021
Merged

Delete Overlay Flag #3211

merged 4 commits into from
Dec 8, 2021

Conversation

wu-hui
Copy link
Contributor

@wu-hui wu-hui commented Dec 7, 2021

No description provided.

@wu-hui
Copy link
Contributor Author

wu-hui commented Dec 7, 2021

cc @thebrianchen

return getDocumentsMatchingCollectionQueryFromMutationQueue(query, offset);
}
ImmutableSortedMap<DocumentKey, Document> fromOverlay =
getDocumentsMatchingCollectionQueryFromOverlayCache(query, offset);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we inline this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

*/
return fromOverlay;
} else {
return getDocumentsMatchingCollectionQueryFromMutationQueue(query, offset);
Copy link
Contributor

Choose a reason for hiding this comment

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

This method can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Dec 7, 2021

Coverage Report

Affected SDKs

  • firebase-firestore

    SDK overall coverage changed from 45.16% (e87b4c7) to 45.20% (469e3a56) by +0.04%.

    Filename Base (e87b4c7) Head (469e3a56) Diff
    LocalDocumentsView.java 69.14% 100.00% +30.86%
    LocalStore.java 99.38% 99.37% -0.01%
    PatchMutation.java 98.39% 100.00% +1.61%
    SQLiteOverlayMigrationManager.java 90.48% 82.50% -7.98%
    SQLiteSchema.java 96.63% 96.62% -0.01%

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

Head commit (469e3a56) is created by Prow via merging commits: e87b4c7 cb297fb.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Dec 7, 2021

Binary Size Report

Affected SDKs

  • firebase-firestore

    Type Base (e87b4c7) Head (469e3a56) Diff
    aar 1.23 MB 1.23 MB -1.62 kB (-0.1%)
    apk (release) 3.33 MB 3.32 MB -772 B (-0.0%)

Test Logs

Notes

Head commit (469e3a56) is created by Prow via merging commits: e87b4c7 cb297fb.

@wu-hui wu-hui assigned schmidt-sebastian and unassigned wu-hui Dec 7, 2021
@wu-hui
Copy link
Contributor Author

wu-hui commented Dec 7, 2021

/test smoke-tests

Copy link

@thebrianchen thebrianchen left a comment

Choose a reason for hiding this comment

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

thanks for cleaning this up!

@wu-hui wu-hui merged commit 110b867 into master Dec 8, 2021
@wu-hui wu-hui deleted the wuandy/DeleteOverlayFlag branch December 8, 2021 19:43
@firebase firebase locked and limited conversation to collaborators Jan 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants