-
Notifications
You must be signed in to change notification settings - Fork 8
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
freezer: disable compression on hashes and difficulties #14
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of this solution. Imho lets add a freezerCompress map[string]bool
into schema.go
that specifies whether specific tables should be compressed or not.
var freezerCompress = map[string]bool{
freezerHeaderTable: true,
freezerHashTable: false,
freezerBodiesTable: true,
freezerReceiptTable: true,
freezerDifficultyTable: false,
}
Done, ptal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestions
done, ptal |
LGTM |
* freezer: disable compression on hashes and difficulties * core/rawdb: address review concerns * core/rawdb: address review concerns
See charts at ethereum#19244 (comment) . This PR disables compression on hashes and difficulties