File tree 1 file changed +5
-3
lines changed
packages/firestore/src/local
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -934,9 +934,11 @@ class LocalStoreImpl implements LocalStore {
934
934
}
935
935
} catch ( e ) {
936
936
if ( isIndexedDbTransactionError ( e ) ) {
937
- // If `releaseTarget` fails, we did not advance the sequence number of
938
- // the target. While the target might be deleted earlier than it
939
- // otherwise would have, it does not invalidate its integrity.
937
+ // All `releaseTarget` does is record the final metadata state for the
938
+ // target, but we've been recording this periodically during target
939
+ // activity. If we lose this write this could cause a very slight
940
+ // difference in the order of target deletion during GC, but we
941
+ // don't define exact LRU semantics so this is acceptable.
940
942
logDebug (
941
943
LOG_TAG ,
942
944
`Failed to update sequence numbers for target ${ targetId } : ${ e } `
You can’t perform that action at this time.
0 commit comments