Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Ensure AncestorHashesSerice selects an open port#21919

Merged
carllin merged 2 commits intosolana-labs:masterfrom
carllin:FixAncestorHashes
Dec 18, 2021
Merged

Ensure AncestorHashesSerice selects an open port#21919
carllin merged 2 commits intosolana-labs:masterfrom
carllin:FixAncestorHashes

Conversation

@carllin
Copy link
Copy Markdown
Contributor

@carllin carllin commented Dec 15, 2021

Problem

Port on which AncestorHashes receives responses is randomly selected and may not be open

Summary of Changes

Ensure AncestorHashes is passed a port that was opened within the validator's specified open port range

Fixes #

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 16, 2021

Codecov Report

Merging #21919 (a3c4ae5) into master (c2a94a8) will increase coverage by 0.0%.
The diff coverage is 87.5%.

@@           Coverage Diff           @@
##           master   #21919   +/-   ##
=======================================
  Coverage    81.2%    81.3%           
=======================================
  Files         516      516           
  Lines      144286   144300   +14     
=======================================
+ Hits       117294   117318   +24     
+ Misses      26992    26982   -10     

@carllin carllin marked this pull request as ready for review December 16, 2021 09:34
@carllin carllin added the v1.9 label Dec 16, 2021
@carllin carllin changed the title Ensure AncestorHashes is open Ensure AncestorHashesSerice selects an open port Dec 16, 2021
AshwinSekar
AshwinSekar previously approved these changes Dec 16, 2021
Copy link
Copy Markdown
Contributor

@AshwinSekar AshwinSekar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread gossip/src/cluster_info.rs Outdated
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
@mergify mergify Bot dismissed AshwinSekar’s stale review December 17, 2021 23:29

Pull request has been modified.

@carllin carllin merged commit 7f6fb69 into solana-labs:master Dec 18, 2021
mergify Bot pushed a commit that referenced this pull request Dec 18, 2021
carllin added a commit that referenced this pull request Dec 28, 2021
mergify Bot added a commit that referenced this pull request Dec 28, 2021
(cherry picked from commit 7f6fb69)

Co-authored-by: carllin <wumu727@gmail.com>
@brooksprumo brooksprumo mentioned this pull request Jan 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants