Skip to content

[5.0] P2P: Fix handling of known pending block#2401

Merged
heifner merged 1 commit intorelease/5.0from
GH-390-p2p-notice-5.0
Aug 7, 2024
Merged

[5.0] P2P: Fix handling of known pending block#2401
heifner merged 1 commit intorelease/5.0from
GH-390-p2p-notice-5.0

Conversation

@heifner
Copy link
Contributor

@heifner heifner commented Aug 7, 2024

In 5.0, P2P added new protocol version to include start/end range in notice_message. See #1215

When that was added, sync_recv_notice was not updated to use the correct id for verify_catchup. This causes additional handshakes and syncing to resolve syncing up to head.

This caused disaster_recovery_2 in spring to not reach syned up state in time for the test to not fail.

Backport of AntelopeIO/spring#484

Resolves AntelopeIO/spring#390

@heifner heifner requested review from greg7mdp and linh2931 August 7, 2024 12:14
@heifner heifner added the OCI Work exclusive to OCI team label Aug 7, 2024
@heifner heifner merged commit de19d85 into release/5.0 Aug 7, 2024
@heifner heifner deleted the GH-390-p2p-notice-5.0 branch August 7, 2024 17:58
@ericpassmore
Copy link
Contributor

Note:start
group: STABILITY
category: INTERNALS
summary: P2P to correctly report id of know pending blocks.
Note:end

@ericpassmore ericpassmore added test-instability tag issues for flaky tests, high priority to address and removed test-instability tag issues for flaky tests, high priority to address labels Oct 2, 2024
@ericpassmore
Copy link
Contributor

Note:start
category: Other
component: P2P
summary: P2P to correctly report id of know pending blocks.
Note:end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCI Work exclusive to OCI team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants