We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9766646 commit e86c069Copy full SHA for e86c069
firebase-firestore/src/main/java/com/google/firebase/firestore/local/LocalDocumentsView.java
@@ -89,6 +89,7 @@ IndexManager getIndexManager() {
89
*/
90
Document getDocument(DocumentKey key) {
91
Mutation overlay = documentOverlayCache.getOverlay(key);
92
+ // Only read from remote document cache if overlay is a patch.
93
MutableDocument document =
94
(overlay == null || overlay instanceof PatchMutation)
95
? remoteDocumentCache.get(key)
0 commit comments