-
Notifications
You must be signed in to change notification settings - Fork 4
Db format changes and use CacheKey in more places #108
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
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
b3ef6b4
Hashed CacheKeys (WIP)
BoD 88bdae1
Use CacheKey in more places
BoD 515a463
Avoid using .hashed()
BoD 46b783b
New 'fields' db format. Also, remove EVICT_AFTER_READ.
BoD 0c17246
Add support for trim
BoD 9aff3c9
Rename 'key' -> 'record'
BoD ce594f1
Minor ApolloJsonElementSerializer optimizations
BoD 8263ee2
Merge branch 'hashed-cache-keys' into db-format-fields-with-hashes
BoD ed1057e
Do not call propagateErrors if there are no errors
BoD ee20dca
Minor optimization in toRecords()
BoD 2dd3697
Use ByteString in CacheKey and blob in SQL.
BoD 4f6c58d
Revert 1 field per row, and hashes
BoD 1bc2238
Renames for consistency
BoD ec15cbd
Add ApolloStore.trim()
BoD 001ec2a
Increase SQLite's memory cache to 8 MiB
BoD cf891be
Report #107
BoD d4d8b9e
Revert removal of assertChainedCachesAreEqual
BoD e261f1d
Fix cacheDumpProvider to include errors
BoD 646ee02
Minor tweak/rename
BoD 5865784
Remove debug
BoD 7b3b11a
Revert removed test
BoD 7d45d84
Revert tweaked values
BoD f0232f1
Update CHANGELOG.md
BoD 91b924c
Merge branch 'main' into db-format-record-with-hashes
BoD 073c4d1
Encode certain known metadata keys as single byte strings to save space
BoD 21ecb03
Make CacheKey extensions internal, and add test-utils
BoD db4d91d
Make CacheKey.keyToString() internal
BoD 3e7ecde
Add a comment about using string lengths
BoD 59f1296
Remove CacheKey.serialize() and co.
BoD 9840218
Optim: avoid some iterations while avoiding some iterations
BoD 0acb637
RecordSerializer: encode ints smaller than 255-32 as one byte
BoD File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 51 additions & 39 deletions
90
normalized-cache-incubating/api/normalized-cache-incubating.api
Large diffs are not rendered by default.
Oops, something went wrong.
77 changes: 38 additions & 39 deletions
77
normalized-cache-incubating/api/normalized-cache-incubating.klib.api
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.