-
Notifications
You must be signed in to change notification settings - Fork 89
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
Disable fast nodes and update iavl to address bugs #1173
Conversation
WalkthroughThis update introduces a new configuration option within the base application initialization process. It specifically adds the ability to disable the fast node feature in the IAVL cache. This adjustment aims to provide users with more control over their application's performance and resource management, potentially optimizing for scenarios where the fast node's benefits do not outweigh its costs. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to path filters (2)
protocol/go.mod
is excluded by:!**/*.mod
protocol/go.sum
is excluded by:!**/*.sum
Files selected for processing (1)
- protocol/cmd/dydxprotocold/cmd/root.go (1 hunks)
Additional comments: 1
protocol/cmd/dydxprotocold/cmd/root.go (1)
- 390-390: The change to disable fast nodes in the IAVL cache by setting
SetIAVLDisableFastNode(true)
directly addresses the PR's objective to improve data integrity and consistency. This is a crucial configuration change that aligns with the goals of the IAVL v1 implementation.Please ensure to assess the impact of this change on the overall performance of the system. Additionally, it's important to update any relevant documentation to reflect this significant configuration change.
Test coverage failing due to some slinky changes. Unrelated. |
(cherry picked from commit 415c118)
Changelist
SaveVersion
incorrectly thinks that tree is unmodified if a previous leaf becomes the new rootTest Plan
Author/Reviewer Checklist
state-breaking
label.indexer-postgres-breaking
label.PrepareProposal
orProcessProposal
, manually add the labelproposal-breaking
.feature:[feature-name]
.backport/[branch-name]
.refactor
,chore
,bug
.