Repository navigation
feat(storages): add direct async iteration on Dataset and KeyValueStore #2267
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
+755
−24
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
193cc2e
feat: add direct async iteration on Dataset and KeyValueStore
Pijukatel 2deace2
feat: make KeyValueStore record iteration overridable by storage clients
Pijukatel 3c03eae
perf: read key-value store entries in bulk in the SQL and Redis clients
Pijukatel 125bba2
test: drop the test for records deleted during key-value store iteration
Pijukatel 668c170
refactor: decode None values in one place in the Redis key-value stor…
Pijukatel 0e255a5
docs: describe the bulk iterate_entries overrides in docstrings
Pijukatel 6c0cc3f
refactor: reject a decoding Redis client instead of suppressing the t…
Pijukatel 95a5154
refactor: narrow Redis replies without a cast
Pijukatel a07f81a
docs: scope the raw-bytes requirement to the Redis key-value store cl…
Pijukatel 1f32875
fix: bound memory of the SQL key-value store iteration with keyset pages
Pijukatel f809fe7
fix: retry the batched Redis value read and test the batching helper
Pijukatel c0c334e
test: give the batching helper test module a unique basename
Pijukatel f7db136
fix: skip Redis records deleted mid-iteration without a missing-value…
vdusek 5918899
docs: correct memory and round-trip claims in KVS iteration docstrings
vdusek eb6a2f3
test: cover SQL iterate_entries limit ending inside a later page
vdusek a967540
test: rename batching test helpers and add missing test docstrings
vdusek db0339a
feat: make KeyValueStore async iteration yield keys like a dict
Pijukatel 0b9af81
refactor: return the key iterator from KeyValueStore.__aiter__ like D…
vdusek 4905199
docs: fix RedisStorageClient and KVS iteration docstrings
vdusek 1c66c3b
test: record Redis and SQL batch calls with wrapping mocks
vdusek 2c3dd78
test: cover records deleted mid-iteration in memory and SQL KVS clients
vdusek b4c21ae
refactor: tidy iterate_entries code, docstrings and test names
vdusek 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
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.
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.