ChainSafe / ChainSafe/lodestar

Gossipsub tracking more peers than required

Open
#8,115 0 comments 0 reactions 0 assignees View on GitHub
meta-bug scope-networking
Dominant language
TypeScript
Stars
1.4k
Forks
483
Avg merge
1d 16h
Merged PRs (30d)
150

Description

### Describe the bug

On our metrics while testing v1.33.0 release, it was discovered that we are tracking more peers than we actually need.

Image

It was also noticed on other topics, even though peer count remained stable.

Image

In addition, it was noticed that `goodbye` outgoing request errors, but dial error rates were improved.

Image

Image

### Expected behavior

Too many peers are being tracked on gossipsub, even though our hard cap max is set at 100. This should be respected.

### Steps to reproduce

Run v1.33.0 and observe topic/gossip peers.

### Additional context

_No response_

### Operating system

Linux

### Lodestar version or commit hash

v1.33.0-rc.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.