-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
perf(engine): parallel storage roots #10666
Conversation
f4db631
to
e96baf2
Compare
f9c572f
to
a7490b8
Compare
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.
nice,
pedantic style and doc nits
let persistence_in_progress = self.persistence_state.in_progress(); | ||
if !persistence_in_progress { |
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.
let's inline this and get rid of the tmp var
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.
temp var cuz it's used later for logging
Description
Enables parallel storage roots in consensus engine. Parallel calculation will be skipped if persistence is currently in progress or if consistency check fails during calculation, it will fall back to regular one