-
Notifications
You must be signed in to change notification settings - Fork 710
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
archive: Refactor archive_storage
method into subscription
#6483
Commits on Oct 9, 2024
-
archive/api: Add stroage diff method
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e17a555 - Browse repository at this point
Copy the full SHA e17a555View commit details -
storage/events: Add storage events and test serialization
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4101ee6 - Browse repository at this point
Copy the full SHA 4101ee6View commit details -
archive: Add initial implementation for storage diff
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d781d67 - Browse repository at this point
Copy the full SHA d781d67View commit details -
archive: Handle modified and delete cases
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60e1a93 - Browse repository at this point
Copy the full SHA 60e1a93View commit details -
archive/events: Derive more impl for diff items
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63da031 - Browse repository at this point
Copy the full SHA 63da031View commit details -
archive: Deduplicate input keys
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25b9e5a - Browse repository at this point
Copy the full SHA 25b9e5aView commit details -
archive: Move code to different module
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52cfaf7 - Browse repository at this point
Copy the full SHA 52cfaf7View commit details -
archive: Fetch value / hash or both
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ee6bed7 - Browse repository at this point
Copy the full SHA ee6bed7View commit details
Commits on Nov 4, 2024
-
events: Add subscription events for ArchiveStorageDiffEvent
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8948e74 - Browse repository at this point
Copy the full SHA 8948e74View commit details -
archive: Make archive_storageDiff a subscription
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbfb0dc - Browse repository at this point
Copy the full SHA fbfb0dcView commit details -
archive: Modify storageDiff to leverage subscription backpressure
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7b33ed - Browse repository at this point
Copy the full SHA f7b33edView commit details
Commits on Nov 5, 2024
-
archive: Deduplicate items to a separate function
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f47db36 - Browse repository at this point
Copy the full SHA f47db36View commit details -
archive/tests: Check deduplication
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97546a4 - Browse repository at this point
Copy the full SHA 97546a4View commit details -
archive: Fix deduplication shortest key
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for baa3dd0 - Browse repository at this point
Copy the full SHA baa3dd0View commit details -
archive/tests: Check complex deduplication
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4683f6b - Browse repository at this point
Copy the full SHA 4683f6bView commit details -
archive: Simplify logic of trie iteration
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36f59d2 - Browse repository at this point
Copy the full SHA 36f59d2View commit details -
archive: Improve documentation
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a084f47 - Browse repository at this point
Copy the full SHA a084f47View commit details -
archive/events: Add derive(Eq) to archive storage diff events
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 77cac50 - Browse repository at this point
Copy the full SHA 77cac50View commit details -
archive/tests: Check query for main trie under prefix
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2324a4 - Browse repository at this point
Copy the full SHA e2324a4View commit details -
archive: Add trace and debug logs for storage diff
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b05913 - Browse repository at this point
Copy the full SHA 4b05913View commit details -
archive: Send StorageDiffDone for partial trie queries
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83cb9b4 - Browse repository at this point
Copy the full SHA 83cb9b4View commit details -
archive/tests: Check no changes between blocks
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85c810e - Browse repository at this point
Copy the full SHA 85c810eView commit details -
archive/tests: Ensure added key
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 152d13b - Browse repository at this point
Copy the full SHA 152d13bView commit details -
archive/tests: Extend test with interleaved values and hashes
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f549bf - Browse repository at this point
Copy the full SHA 4f549bfView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d208068 - Browse repository at this point
Copy the full SHA d208068View commit details -
archive: Move prevHash as last parameter to archive diff
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 369a4d2 - Browse repository at this point
Copy the full SHA 369a4d2View commit details -
archive: Preserve order of elements with indexMap
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a02cc84 - Browse repository at this point
Copy the full SHA a02cc84View commit details -
archive/tests: Check deleted keys
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 637b446 - Browse repository at this point
Copy the full SHA 637b446View commit details -
events: Add common wrappers for construction
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76efb18 - Browse repository at this point
Copy the full SHA 76efb18View commit details -
archive: Propagate errors via events
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca1fa20 - Browse repository at this point
Copy the full SHA ca1fa20View commit details -
archive: Check invalid parameters and events
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 03eefd7 - Browse repository at this point
Copy the full SHA 03eefd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a1e792 - Browse repository at this point
Copy the full SHA 9a1e792View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbbfce1 - Browse repository at this point
Copy the full SHA dbbfce1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 971026d - Browse repository at this point
Copy the full SHA 971026dView commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2880058 - Browse repository at this point
Copy the full SHA 2880058View commit details -
archive/storage: Optimize space used for saved keys
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b774855 - Browse repository at this point
Copy the full SHA b774855View commit details -
Configuration menu - View commit details
-
Copy full SHA for 838504b - Browse repository at this point
Copy the full SHA 838504bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60abd9b - Browse repository at this point
Copy the full SHA 60abd9bView commit details
Commits on Nov 11, 2024
-
archive: Propagate all queries to handle_trie_queries
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc5f001 - Browse repository at this point
Copy the full SHA dc5f001View commit details -
archive: Simplify process_events
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cdc4dc5 - Browse repository at this point
Copy the full SHA cdc4dc5View commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de7cf79 - Browse repository at this point
Copy the full SHA de7cf79View commit details -
archive: Refactor with FetchedStorage enum
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 199b46d - Browse repository at this point
Copy the full SHA 199b46dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f4a4b8 - Browse repository at this point
Copy the full SHA 3f4a4b8View commit details -
archive: Refactor for optimal iteration cycles
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4ace06 - Browse repository at this point
Copy the full SHA f4ace06View commit details
Commits on Nov 12, 2024
-
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55489c7 - Browse repository at this point
Copy the full SHA 55489c7View commit details -
archive: Rename starts_with to belongs_to_query
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f94890 - Browse repository at this point
Copy the full SHA 4f94890View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7e54a5 - Browse repository at this point
Copy the full SHA a7e54a5View commit details -
Merge remote-tracking branch 'origin/master' into lexnv/storage-diff
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5341227 - Browse repository at this point
Copy the full SHA 5341227View commit details
Commits on Nov 14, 2024
-
common/events: Transform StorageResult into StorageEvent
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25728a1 - Browse repository at this point
Copy the full SHA 25728a1View commit details -
archive/api: Make archive_storage a subscription
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8860e7e - Browse repository at this point
Copy the full SHA 8860e7eView commit details -
rpc-v2: Rename ArchiveResult into ArchiveEvent
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 533ecb9 - Browse repository at this point
Copy the full SHA 533ecb9View commit details -
events: Add wrappers for ArchiveStorageEvent
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0849e8e - Browse repository at this point
Copy the full SHA 0849e8eView commit details -
common/storage: Introduce a common storage subcription handler
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2f92b6 - Browse repository at this point
Copy the full SHA a2f92b6View commit details -
archive/api: Remove pagination items from archive storage
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fec81a - Browse repository at this point
Copy the full SHA 7fec81aView commit details -
common/events: Add constructor methods for clarity
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6523d2 - Browse repository at this point
Copy the full SHA b6523d2View commit details -
archive: Remove ArchiveStorage in favour of common archive object
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb65583 - Browse repository at this point
Copy the full SHA bb65583View commit details -
archive: Remove config for storage parameters and use backpressure
instead Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1917672 - Browse repository at this point
Copy the full SHA 1917672View commit details -
archive/storage: Adjust testing to subscription based approach
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 702f521 - Browse repository at this point
Copy the full SHA 702f521View commit details
Commits on Nov 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 751d8ff - Browse repository at this point
Copy the full SHA 751d8ffView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c2bb7c - Browse repository at this point
Copy the full SHA 3c2bb7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f8c0c0 - Browse repository at this point
Copy the full SHA 8f8c0c0View commit details -
archive: Mode deduplicate_storage_diff_items to inenr methods
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07a459c - Browse repository at this point
Copy the full SHA 07a459cView commit details -
archive/tests: Ensure other storage entries are not provided
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a151bf3 - Browse repository at this point
Copy the full SHA a151bf3View commit details
Commits on Nov 27, 2024
-
archive/diff: Implement lexicographic_diff
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a575b4a - Browse repository at this point
Copy the full SHA a575b4aView commit details -
archive/tests: Check lexicographic diff
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for caa75cc - Browse repository at this point
Copy the full SHA caa75ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ff0bdb - Browse repository at this point
Copy the full SHA 7ff0bdbView commit details -
archive: Remove commented code and add documentation
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6e40a0 - Browse repository at this point
Copy the full SHA c6e40a0View commit details -
Update substrate/client/rpc-spec-v2/src/archive/api.rs
Co-authored-by: James Wilson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a07b5c4 - Browse repository at this point
Copy the full SHA a07b5c4View commit details -
archive: Remove unneeded lifetime
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae00327 - Browse repository at this point
Copy the full SHA ae00327View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd48434 - Browse repository at this point
Copy the full SHA fd48434View commit details -
Merge remote-tracking branch 'origin/lexnv/storage-diff' into lexnv/s…
…torage-sub Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 736a5ad - Browse repository at this point
Copy the full SHA 736a5adView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 791831f - Browse repository at this point
Copy the full SHA 791831fView commit details -
archive: Refactor process methods
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ddaf2d - Browse repository at this point
Copy the full SHA 3ddaf2dView commit details -
archive/tests: Adjust to new assumptions wrt StorageDone
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 774b525 - Browse repository at this point
Copy the full SHA 774b525View commit details -
archive: Rename StorageResult to Storage
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4147442 - Browse repository at this point
Copy the full SHA 4147442View commit details -
storage/events: Include child trie key
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0f5ded - Browse repository at this point
Copy the full SHA c0f5dedView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39aab7a - Browse repository at this point
Copy the full SHA 39aab7aView commit details -
archive/tests: Check childtrie results
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b14a4bd - Browse repository at this point
Copy the full SHA b14a4bdView commit details
Commits on Nov 28, 2024
-
Merge remote-tracking branch 'origin/master' into lexnv/storage-sub
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9676499 - Browse repository at this point
Copy the full SHA 9676499View commit details -
archive/tests: Fix wrong merge
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff09c7e - Browse repository at this point
Copy the full SHA ff09c7eView commit details -
archive/events: Align with spec
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 087f0e7 - Browse repository at this point
Copy the full SHA 087f0e7View commit details