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

[vpj] Dual write push job detials report from VPJ to both parent and child region for push job system store replication mode migration #1463

Closed

Conversation

sixpluszero
Copy link
Contributor

[vpj] Dual write push job detials report from VPJ to both parent and child region for push job system store replication mode migration

Add a new controller to write to child fabric for push job details system store, so that when we migrate this particular system store to A/A mode, it will be able to receive updates.

How was this PR tested?

N/A

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

…child region for push job system store replication mode migration
Comment on lines +1887 to +1888
* If it is multi-region, it will dual write push job details to parent RT and child region RT.
* If it is single-region, it will only write push job details to child region RT.
Copy link
Contributor

Choose a reason for hiding this comment

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

Why can't parent controller write it to child colo's RT instead? Why do we need to make a controller client to an arbitrary child colo?

Copy link
Contributor

Choose a reason for hiding this comment

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

There is also stuff in parent controller that emits metrics about push job success/failures that we'll need to handle

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah you are right...I think I read the code wrong. It probably cannot work alone within VPJ changes. I will probably just change to dual write in parent controller.

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