Skip to content

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

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

thanethomson merged 2 commits into
v0.34.xfrom
thane/9274-config-storage

Conversation

@thanethomson

@thanethomson thanethomson commented Aug 17, 2022 •

Copy link
Copy Markdown
Contributor

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

@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

@cmwaters cmwaters left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread 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
Copy Markdown
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
Copy Markdown
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?

@cmwaters cmwaters left a comment

Copy link
Copy Markdown
Contributor

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 <[email protected]>

* Update config comment to highlight space saving tradeoff

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
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 <[email protected]>

* Update config comment to highlight space saving tradeoff

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
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 <[email protected]>

* Update config comment to highlight space saving tradeoff

Signed-off-by: Thane Thomson <[email protected]>

Signed-off-by: Thane Thomson <[email protected]>
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