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

Fix on state based replication #7228

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Fix on state based replication #7228

wants to merge 3 commits into from

Conversation

xwduan
Copy link
Contributor

@xwduan xwduan commented Feb 4, 2025

What changed?

  1. Improve logging on replication task execution
  2. Check versioned transition existence before reading it. (avoid panic)
  3. When SyncState returning nil error and 'false` doContinue, ignore the task instead of keep retrying. Otherwise this will cause DLQ.
  4. release workflow lock before convertTaskEquivalents, otherwise deadlock.

Why?

Fix on state based replication

How did you test it?

Ran tasks on test clusters

Potential risks

n/a

Documentation

n/a

Is hotfix candidate?

no

tag.WorkflowNamespaceID(e.NamespaceID),
tag.WorkflowID(e.WorkflowID),
tag.WorkflowRunID(e.RunID),
tag.TaskID(e.ExecutableTask.TaskID()),
tag.Error(syncStateErr),
)
return err
}
// return original task processing error
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: remove the comment

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.

2 participants