temporal icon indicating copy to clipboard operation
temporal copied to clipboard

Update namespace replication task cleanup logic with connected clusters

Open yux0 opened this issue 3 years ago • 0 comments

Expected Behavior

calculate namespace replication ack level by active cluster connections

NS replication metadata: Cluster A (disconnected): 100 Cluster B (connected): 1000 Cluster C (connected): 500

minimum ack level: 500, delete all tasks before 500.

Actual Behavior

NS replication metadata: Cluster A (disconnected): 100 Cluster B (connected): 1000 Cluster C (connected): 500

minimum ack level: 100

Specifications

In 1.16, we allow remove clusters from namespace cluster list. We should update this logic accordingly.

yux0 avatar Jun 01 '22 17:06 yux0