v1.17: gossip: process duplicate proofs for merkle root conflicts (backport of #34066)#34292
v1.17: gossip: process duplicate proofs for merkle root conflicts (backport of #34066)#34292mergify[bot] wants to merge 1 commit intov1.17from
Conversation
795cf1a to
f4f50f1
Compare
b9415a5 to
c5a1c50
Compare
|
need to merge #34291 first |
|
necessary for the backport chain to #34270 |
* gossip: process duplicate proofs for merkle root conflicts * pr comments + abi (cherry picked from commit ca6ab08) # Conflicts: # gossip/src/cluster_info.rs
c5a1c50 to
91d6fa2
Compare
|
What was the merge conflict here? In the future, please don't squash the commits so we can see the merge conflict and how it was resolved. |
|
sorry bad habit. The merge conflict was the ABI on cluster info |
|
Probably I should have asked this on the original commit, but what happens if during the upgrade some % of the cluster considers 2 shreds as a duplicate proof but the rest of the cluster without this code does not recognize those as duplicates? |
|
The part of the cluster without the code will be unable to deserialize the duplicate proof thinking that it is invalid. I assume this will also hurt the propagation of such proofs in gossip. Note that we don't actually consume this proof in fork choice yet, #32963. So there shouldn't be a divergence there. For rollout I think we should wait to consume the proof until the majority of the cluster can process it through gossip. |
This is an automatic backport of pull request #34066 done by Mergify.
Cherry-pick of ca6ab08 has failed:
To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
Mergify commands and options
More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:
@Mergifyio refreshwill re-evaluate the rules@Mergifyio rebasewill rebase this PR on its base branch@Mergifyio updatewill merge the base branch into this PR@Mergifyio backport <destination>will backport this PR on<destination>branchAdditionally, on Mergify dashboard you can:
Finally, you can contact us on https://mergify.com