8000 ADR-101: Backport pruning mechanism to v0.38.x-experimental by jmalicevic · Pull Request #1439 · cometbft/cometbft · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ADR-101: Backport pruning mechanism to v0.38.x-experimental #1439

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

Conversation

jmalicevic
Copy link
Contributor
@jmalicevic jmalicevic commented Oct 6, 2023

Closes #1422

Backports Commits: commits: 04dfaf5, c710bb8 (metrics for pruning), fe644d8


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

jmalicevic and others added 2 commits October 5, 2023 12:50
* Added pruning mechanism for blocks and abci block results
* Added support for datacompanion and application retain heights
---------

Signed-off-by: Thane Thomson <connect@thanethomson.com>
Co-authored-by: Thane Thomson <connect@thanethomson.com>
@jmalicevic jmalicevic added the P:storage-optimization Priority: Give operators greater control over storage and storage optimization label Oct 6, 2023
@jmalicevic jmalicevic self-assigned this Oct 6, 2023
@jmalicevic jmalicevic requested a review from a team as a code owner October 6, 2023 08:38
@jmalicevic jmalicevic marked this pull request as draft October 6, 2023 09:38
jmalicevic and others added 3 commits October 6, 2023 11:42
* Metrics to report on the data companion retain height

* Added metric to report the application retain height as well

* Added metrics to report the blockstore base height and the abci results base height
---------

Co-authored-by: Thane Thomson <connect@thanethomson.com>
* Applied @serigo-mena's comments

* Update state/pruner.go

Co-authored-by: Thane Thomson <connect@thanethomson.com>

* Applied further comments from PR

* Fixed batching interval

---------

Co-authored-by: Thane Thomson <connect@thanethomson.com>
@jmalicevic jmalicevic marked this pull request as ready for review October 6, 2023 10:26
@cason cason linked an issue Oct 10, 2023 that may be closed by this pull request
3 tasks
Copy link
Contributor
@cason cason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legit.

@thanethomson thanethomson changed the title ADR-101: Backport pruning mecanism to v0.38.x ADR-101: Backport pruning mechanism to v0.38.x-experimental Oct 10, 2023
@jmalicevic jmalicevic merged commit de8f307 into v0.38.x-experimental Oct 11, 2023
@jmalicevic jmalicevic deleted the jasmina/backport-pruning-mechanism-038 branch October 11, 2023 09:23
lasarojc pushed a commit that referenced this pull request Nov 13, 2023
* ADR 101: Implement pruning mechanism (#1150)

* Added pruning mechanism for blocks and abci block results
* Added support for datacompanion and application retain heights
---------

Signed-off-by: Thane Thomson <connect@thanethomson.com>
Co-authored-by: Thane Thomson <connect@thanethomson.com>

* Removed extra code added via cherry pick conflicts and regenerated mock

* Fixed changelog placement and added entry on pruning mechanism breaking

* ADR-101: Metrics to monitor the pruning  (#1234)

* Metrics to report on the data companion retain height

* Added metric to report the application retain height as well

* Added metrics to report the blockstore base height and the abci results base height
---------

Co-authored-by: Thane Thomson <connect@thanethomson.com>

* ADR-101: Pruning mechanism minor fixes (#1246)

* Applied @serigo-mena's comments

* Update state/pruner.go

Co-authored-by: Thane Thomson <connect@thanethomson.com>

* Applied further comments from PR

* Fixed batching interval

---------

Co-authored-by: Thane Thomson <connect@thanethomson.com>

* Delete bad changelog entry

---------

Signed-off-by: Thane Thomson <connect@thanethomson.com>
Co-authored-by: Thane Thomson <connect@thanethomson.com>
Co-authored-by: Daniel Cason <daniel.cason@informal.systems>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P:storage-optimization Priority: Give operators greater control over storage and storage optimization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ADR-101 v0.38.x: Backport block pruning mechanism
3 participants
0