Skip to content
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

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

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

heifner
Copy link
Member

@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 added the OCI Work exclusive to OCI team label Aug 7, 2024
@heifner heifner merged commit de19d85 into release/5.0 Aug 7, 2024
29 checks passed
@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