Skip to content

config: Move discard_abci_responses flag into its own storage section#9275

Merged
thanethomson merged 2 commits intov0.34.xfrom
thane/9274-config-storage
Aug 17, 2022
Merged

config: Move discard_abci_responses flag into its own storage section#9275
thanethomson merged 2 commits intov0.34.xfrom
thane/9274-config-storage

Conversation

@thanethomson
Copy link
Contributor

@thanethomson thanethomson commented Aug 17, 2022

Closes #9274

Docs and CHANGELOG_PENDING entry will be added in #9267.


PR checklist

  • Tests written/updated, or no tests needed
  • CHANGELOG_PENDING.md updated, or no changelog entry needed
  • Updated relevant documentation (docs/) and code comments, or no
    documentation updates needed

Signed-off-by: Thane Thomson <connect@thanethomson.com>
@thanethomson thanethomson requested a review from ebuchman as a code owner August 17, 2022 00:12
@thanethomson thanethomson requested a review from a team August 17, 2022 00:12
Copy link
Contributor

@cmwaters cmwaters left a comment

Choose a reason for hiding this comment

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

Awesome. Thanks for doing that. Had half started last night but this is basically exactly how I had done it. I had even positioned this section specifically below the consensus config lol

config/toml.go Outdated
Comment on lines +487 to +489
# Set to false to ensure ABCI responses are persisted. ABCI responses are
# required for /block_results RPC queries, and to reindex events in the
# command-line tool.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we mention that setting this to true will save considerable disk space (or something similar)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does the new comment seem reasonable?

Signed-off-by: Thane Thomson <connect@thanethomson.com>
Copy link
Contributor

@cmwaters cmwaters left a comment

Choose a reason for hiding this comment

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

Yup the comments look good

@thanethomson thanethomson merged commit 58669ae into v0.34.x Aug 17, 2022
@thanethomson thanethomson deleted the thane/9274-config-storage branch August 17, 2022 15:18
samricotta pushed a commit that referenced this pull request Aug 18, 2022
…on (#9275)

* config: Move discard_abci_responses flag into its own storage section

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

* Update config comment to highlight space saving tradeoff

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

Signed-off-by: Thane Thomson <connect@thanethomson.com>
samricotta pushed a commit that referenced this pull request Aug 18, 2022
…on (#9275)

* config: Move discard_abci_responses flag into its own storage section

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

* Update config comment to highlight space saving tradeoff

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

Signed-off-by: Thane Thomson <connect@thanethomson.com>
samricotta pushed a commit that referenced this pull request Aug 19, 2022
…on (#9275)

* config: Move discard_abci_responses flag into its own storage section

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

* Update config comment to highlight space saving tradeoff

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

Signed-off-by: Thane Thomson <connect@thanethomson.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done/Merged

Development

Successfully merging this pull request may close these issues.

2 participants