Closed akichidis closed 11 months ago
Let's test this, the committer code is very delicate. (I know, I sound like a broken record)
https://github.com/MystenLabs/mysticeti/pull/57#discussion_r1418143049
I think it's not a total stake here, but just stake of all decision_blocks
Good catch!
Under circumstances the commit rule on a 150 validator network could take 10s of miliseconds per commit to execute. That could be proven particularly slow especially when experiencing some asynchrony. Also a slow commit rule wouldn't allow us to execute it more frequently as well given that is part of the block processing path.
This PR is:
linked
method with alinked_to_round
to avoid iterating and checking the link path for every single certificateenough_leader_support
when there isn't enough stakethe above with some additional improvements which will be added on a follow up PR manage to reduce the commit latency to
~3.7ms
per try_commit run.