temporalio / temporalio/temporal

[xdc] Workers connected to standby cluster not picking up tasks after failover

Open
#1,847 2 comments 0 reactions 1 assignee View on GitHub

@samarabbas is already working on this.

Since Aug 27, 2021.

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

Description

Expected Behavior

Workers connected to standby cluster should start picking up tasks when proted as teh active cluster

Actual Behavior

No taks get dispatched to the worker connected to standby cluster

Steps to Reproduce the Problem

  1. Create an xdc setup in docker compose bring up the cluster using
    docker compose -f docker-compose-mysql-xdc.yaml up
  2. create a global namespace named xdc with clusters active and standby
  3. create some workflow in xdc namespace
  4. bring down the active cluster (i.e temporal-active, temporal-active-admin-tools, temporal-active-web) (kill specific containers)
  5. log on to temporal-standby-admin-tools and fail over to standby cluser using tctl -ns xdc n u --ac standby

The workers (java sdk) connected to the standby cluster is still not getting any workflows/tasks dispatched.

this behaviour is with java sdk based worker/clients

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.