temporalio / temporalio/temporal

When temporal k8s pod restart, healer still probe the old pod ip ?

Open
#11,429 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

potential-bug
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Actual Behavior

		DiscoverProvider: statichosts.New(hostPorts...)

https://github.com/temporalio/temporal/blob/d02d63642a1acb50ff90f29c3352e9d1df1487b1/common/membership/ringpop/monitor.go#L204

We found logs in gateway. When fronted pod restart, but temporal-worker still keep visiting old fronted pod IP.

Steps to Reproduce the Problem

  1. restart fronted pod
  2. capture package from temporal-worker

Specifications

  • Version: v.1.23
  • Platform: k8s

Contributor guide

Open the 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.

Research direction

Start in common/membership/ringpop/monitor.go at line 204, where DiscoverProvider uses statichosts.New(hostPorts...). Reproduce the issue by restarting the fronted pod and capture traffic from temporal-worker; done means the worker stops contacting the old pod IP after restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
distributed-systems, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.