Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wire replication stream caller side #4178

Merged
merged 2 commits into from
Apr 24, 2023
Merged

Wire replication stream caller side #4178

merged 2 commits into from
Apr 24, 2023

Conversation

wxing1292
Copy link
Contributor

What changed?

  • Wire replication stream caller side

Why?
Support replication stream between diff shard count

How did you test it?
Existing tests

Potential risks
N/A

Is hotfix candidate?
N/A

@wxing1292 wxing1292 requested a review from a team as a code owner April 18, 2023 01:23
for _, targetCluster := range namespaceEntry.ClusterNames() {
if f.SourceClusterShardID.ClusterName == targetCluster {
shouldProcessTask = true
break FilterLoop
Copy link
Contributor

@hehaifengcn hehaifengcn Apr 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why break with label? and can you add some comments on why the task should be processed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to me break with label will make the logic easier to read

@wxing1292 wxing1292 merged commit b97be78 into temporalio:master Apr 24, 2023
@wxing1292 wxing1292 deleted the diff-shards-wire branch April 24, 2023 16:35
samanbarghi pushed a commit to samanbarghi/temporal that referenced this pull request May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants