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

db: Add delayed blocks pruning #12497

Closed
wants to merge 28 commits into from
Closed

db: Add delayed blocks pruning #12497

wants to merge 28 commits into from

Commits on Oct 14, 2022

  1. client/db: Prune state/blocks with delay

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    6cfc4e9 View commit details
    Browse the repository at this point in the history
  2. tests: Delay prune blocks on finalization

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    69cb590 View commit details
    Browse the repository at this point in the history
  3. tests: Delay prune blocks with fork

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    d18d071 View commit details
    Browse the repository at this point in the history
  4. client/cli: Add delayed pruning mode and make it default

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    a5fb1cc View commit details
    Browse the repository at this point in the history
  5. client/db: Announce proper leaves for delayed pruning

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    4f2f54e View commit details
    Browse the repository at this point in the history
  6. tests: Verify displaced_leaves_after_finalizing with delayed pruning

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    490c0c9 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. client/db: Rename delayed_pruning to delay_canonicalization

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    17a1bb9 View commit details
    Browse the repository at this point in the history
  2. client/cli: Fix rustdoc

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    835abe9 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. client/db: Handle canonization gap

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    80a78dc View commit details
    Browse the repository at this point in the history
  2. Revert "client/cli: Fix rustdoc"

    This reverts commit 835abe9.
    lexnv committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    52b0430 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2fb4030 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. client/cli: Add delayed_canonicalization flag

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    ec24de5 View commit details
    Browse the repository at this point in the history
  2. client/service: Fix tests

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    5bfc4fa View commit details
    Browse the repository at this point in the history
  3. client/db: Move delayed param on the database settings

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    fdee4cc View commit details
    Browse the repository at this point in the history
  4. client/db: Add debug log for pruning and fix canon gap

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    026181b View commit details
    Browse the repository at this point in the history
  5. client/db: Apply cargo fmt

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    f34dad5 View commit details
    Browse the repository at this point in the history
  6. client/cli: Improve documentation

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    2c28ac1 View commit details
    Browse the repository at this point in the history
  7. client/db: Simplify canonicalization on startup

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    9f68abd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c4ae9ec View commit details
    Browse the repository at this point in the history
  9. client/db: Adjust testing for origin/master

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    5f1c535 View commit details
    Browse the repository at this point in the history
  10. client/db: Remove cloning for block numbers

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    118e943 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. client/db: Use delayed_canonicalization naming

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    8fabc52 View commit details
    Browse the repository at this point in the history
  2. client/db: Obtain last canonicalized and finalized from meta

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    15cb39d View commit details
    Browse the repository at this point in the history
  3. client/state-db: Remove private LAST_CANONICAL constant

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    2014094 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fac193f View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Configuration menu
    Copy the full SHA
    6c9baa0 View commit details
    Browse the repository at this point in the history
  2. client/db: Adjust testing to origin/master

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    5603f52 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b6a06e View commit details
    Browse the repository at this point in the history