Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • tezos tezos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,706
    • Issues 1,706
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 225
    • Merge requests 225
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TezosTezos
  • tezostezos
  • Merge requests
  • !1067

Introduce Full and Rolling mode

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Paul Laforgue requested to merge nomadic-labs/tezos:storage-team@master-partial-node into master May 20, 2019
  • Overview 2
  • Commits 48
  • Pipelines 0
  • Changes 60

This MR allows a node to run with a pruned history by introducing two history modes: Full (the new default mode) and Rolling. The Archive history mode corresponds to the current mode which keeps everything.

The node history is cleaned when setting a new checkpoint :

  • On Full mode, blocks below the new checkpoint are pruned and the node is still able to obtain some block data, such as the block header, under the new checkpoint.
  • On Rolling mode, only a minimal required portion of the blocks (max_op_ttl blocks under the new checkpoint) are kept and pruned. All blocks under this limit are deleted.

More info can be found in this post: https://blog.nomadic-labs.com/introducing-snapshots-and-history-modes-for-the-tezos-node.html

The snapshot part will be the subject of a separate MR.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: storage-team@master-partial-node