Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Flaky stream load balancing

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, go

Research direction

Check out the reproduce-load-balancing-issue branch and run the repeated E2E command in test/e2e. Start with the requireReplicatedStream stuck message, then inspect the attached logs and Docker container logs. Done means identifying the cause of the incorrect stream distribution between Mist nodes.

Written by the indexing model from the issue text.

Description

bug

From time to time, the stream is not load balanced correctly between Mist nodes. I attach the logs of both catalyst nodes.

logs-node-1.txt
logs-node-2.txt

Steps to reproduce
1. Check out the code from the branch with additional debug logs

Check out the branch reproduce-load-balancing-issue. It adds additional logs and increases the timeout of the E2E Test

2. Run many tests sequentially to reproduce the flakiness
for i in $(seq 0 30); do go test -timeout 30m -v ./test/e2e/*; done
3. Notice that a test was stuck

You should see a message that the test is stuck.

#####
STUCK in requireReplicatedStream
4. Check the container logs

Now, you can check the logs of the containers and investigate the issue.

docker ps
Dominant language
Go
Stars
24
Forks
16
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from livepeer/catalyst

All issues in livepeer/catalyst

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.