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

Consolidate migration folder in OSS #6893

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

zigeH
Copy link

@zigeH zigeH commented Nov 26, 2024

What changed?

1, Consolidate force replication and handover wf in OSS with control plane.
2, We copied all 7 files from cp and remove the prefix saas.

Why?

How did you test it?

Potential risks

Documentation

Is hotfix candidate?

@zigeH zigeH requested a review from a team as a code owner November 26, 2024 23:47
@zigeH zigeH force-pushed the consolidate-force-replication-wf branch from d0276d0 to 99ed161 Compare November 27, 2024 17:19
@zigeH zigeH changed the title Consolidate force replication wf in OSS Consolidate migration folder in OSS Nov 27, 2024
@zigeH zigeH requested review from hehaifengcn, yux0 and yycptt November 27, 2024 21:28
if !isNotFoundServiceError(err) {
a.logger.Error("force-replication failed to generate replication task", tag.WorkflowNamespaceID(request.NamespaceID), tag.WorkflowID(we.WorkflowId), tag.WorkflowRunID(we.RunId), tag.Error(err))
var executionCandidates []definition.WorkflowKey
if request.EnableParentInfo {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to expose this in OSS? my understanding is that we may take a different approach. @yux0 ?

Copy link
Contributor

Choose a reason for hiding this comment

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

agree. We can remove this part and use the new approach.

Copy link
Author

Choose a reason for hiding this comment

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

But I think we will not keep 2 version of this code. After the pr got merged, force-replication on the saas-temporal will be deleted.

Copy link
Author

Choose a reason for hiding this comment

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

Or are we going to modify generateReplicationTasks before consolidation?

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