-
Notifications
You must be signed in to change notification settings - Fork 934
Add Overlays and DocumentOverlayCache implementation #5969
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
Conversation
…ocumentOverlayCache.
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1This report is too large (521,295 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.Test Logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good! I hope it was a fun learning opportunity :)
packages/firestore/src/local/indexeddb_document_overlay_cache.ts
Outdated
Show resolved
Hide resolved
packages/firestore/test/unit/local/document_overlay_cache.test.ts
Outdated
Show resolved
Hide resolved
packages/firestore/test/unit/local/document_overlay_cache.test.ts
Outdated
Show resolved
Hide resolved
packages/firestore/test/unit/local/document_overlay_cache.test.ts
Outdated
Show resolved
Hide resolved
packages/firestore/test/unit/local/test_document_overlay_cache.ts
Outdated
Show resolved
Hide resolved
packages/firestore/test/unit/local/test_document_overlay_cache.ts
Outdated
Show resolved
Hide resolved
It was a great learning opportunity indeed |
Changeset File Check ✅
|
packages/firestore/src/local/indexeddb_document_overlay_cache.ts
Outdated
Show resolved
Hide resolved
static keyPath = ['userId', 'collectionPath', 'documentId']; | ||
|
||
static batchIdOverlayIndex = 'batchIdOverlayIndex'; | ||
static batchIdOverlayIndexPath = ['userId', 'largestBatchId']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should evaluate as part of this PR as this PR changes the schema on disk.
Addressed comments and fixed merge conflicts. PTAL |
No description provided.