-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.13.0 backport] finalization: Skip tree route calculation if no for…
- Loading branch information
Showing
4 changed files
with
198 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: Skip tree route calculation if no forks present | ||
|
||
doc: | ||
- audience: Node Operator | ||
description: | | ||
Fixes an issue with synchronisation on parachains. Once they reached the tip of the chain, | ||
nodes would show `Preparing 0.0 bps`. This is shown because the node is blocked on calculating | ||
the tree route from genesis to the tip of the chain many times. This PR solves that by skipping | ||
tree route calculation if there is only one leave. In addition, further optimizations have been | ||
done to alleviate long finalization distances. | ||
|
||
crates: | ||
- name: sp-blockchain | ||
bump: minor | ||
- name: sc-client-db | ||
bump: none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters