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 9db9e34 commit 3b36974Copy full SHA for 3b36974
packages/firestore/src/local/indexeddb_lru_delegate_impl.ts
@@ -152,8 +152,8 @@ export class IndexedDbLruDelegateImpl implements IndexedDbLruDelegate {
152
documentCount++;
153
// Our size accounting requires us to read all documents before
154
// removing them.
155
- return changeBuffer.getEntry(txn, docKey).next(() => {
156
- changeBuffer.removeEntry(docKey);
+ return changeBuffer.getEntry(txn, docKey).next(entry => {
+ changeBuffer.removeEntry(docKey, entry.readTime);
157
return documentTargetStore(txn).delete(sentinelKey(docKey));
158
});
159
}
0 commit comments