Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

chainHead: Add support for storage pagination and cancellation #14755

Merged
merged 19 commits into from
Aug 24, 2023

Commits on Aug 16, 2023

  1. chainHead/api: Add chain_head_unstable_continue method

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    a97fd42 View commit details
    Browse the repository at this point in the history
  2. chainHead/subscriptions: Register operations for pagination

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    fe3404c View commit details
    Browse the repository at this point in the history
  3. chainHead/subscriptions: Merge limits with registered operation

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    72b26c3 View commit details
    Browse the repository at this point in the history
  4. chainHead/subscriptions: Expose the operation state

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    e28d982 View commit details
    Browse the repository at this point in the history
  5. chain_head/storage: Generate WaitingForContinue event

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    1d717df View commit details
    Browse the repository at this point in the history
  6. chainHead: Use the continue operation

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    3bbc9ba View commit details
    Browse the repository at this point in the history
  7. chainHead/tests: Adjust testing to the new storage interface

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    5afe9c0 View commit details
    Browse the repository at this point in the history
  8. chainHead/config: Make pagination limit configurable

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    c8e8ed5 View commit details
    Browse the repository at this point in the history
  9. chainHead/tests: Adjust chainHeadConfig

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    60492c7 View commit details
    Browse the repository at this point in the history
  10. chainHead/tests: Check pagination and continue method

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    6929ec5 View commit details
    Browse the repository at this point in the history
  11. chainHead/api: Add chainHead_unstable_stopOperation method

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    2791c90 View commit details
    Browse the repository at this point in the history
  12. chainHead/subscription: Add shared atomic state for efficient alloc

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    8bda477 View commit details
    Browse the repository at this point in the history
  13. chainHead: Implement operation stop

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    382ce98 View commit details
    Browse the repository at this point in the history
  14. chainHead/tests: Check that storage ops can be cancelled

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    3a5c12a View commit details
    Browse the repository at this point in the history
  15. chainHead/storage: Change docs for query_storage_iter_pagination

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    6d825a6 View commit details
    Browse the repository at this point in the history
  16. chainHead/subscriptions: Fix merge conflicts

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    cab6202 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. chainHead: Replace async-channel with tokio::sync

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    141ca3f View commit details
    Browse the repository at this point in the history
  2. chainHead/subscription: Add comment about the sender/recv continue

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    7ccef40 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    d1b2817 View commit details
    Browse the repository at this point in the history