Skip to content
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

Add receipt compaction option #1555

Conversation

joaniefromtheblock
Copy link
Contributor

Closes #1533

@joaniefromtheblock joaniefromtheblock requested a review from a team as a code owner April 2, 2024 07:29
Copy link

vercel bot commented Apr 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
besu-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 2, 2024 7:15pm


</Tabs>

Enables or disables receipt compaction. Compacting receipts reduces storage by trimming unnecessary data from transaction receipts. Enabled by default, this option optimizes storage efficiency. It can be disabled if the compaction process introduces performance overhead.
Copy link
Contributor

Choose a reason for hiding this comment

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

Enabled by default

Currently it's disabled by default. Also, not released yet, but might be soon.

Copy link
Contributor

Choose a reason for hiding this comment

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

It can be disabled if the compaction process introduces performance overhead.

I'm not sure if this this performance overhead was actually observed but would defer to @jframe. Thinking we don't need to suggest why you might want to disable it, maybe could remove this sentence?

Copy link

Choose a reason for hiding this comment

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

Agree we should remove the sentence about performance. At the moment it's not clear without additional testing in high load environments.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @jframe and @siladu . I updated this PR. Is it ready for release?

Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com>
Copy link
Contributor

@alexandratran alexandratran left a comment

Choose a reason for hiding this comment

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

One suggestion for consistency otherwise lgtm.

docs/public-networks/reference/cli/options.md Outdated Show resolved Hide resolved
Co-authored-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com>
Signed-off-by: Joan E <153745173+joaniefromtheblock@users.noreply.github.com>
@joaniefromtheblock joaniefromtheblock merged commit 09de426 into hyperledger:main May 2, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document --receipt-compaction-enabled
4 participants