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][controller][common] Add KME schema reader into repush #623

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

shuhui-liu
Copy link
Contributor

@shuhui-liu shuhui-liu commented Sep 7, 2023

Summary

Today KIF repush does not have KME schema reader. During KME upgrades, if controllers deploy first, controller will produce control messages with new KME, and repush will fail because it could not find the new KME in code to deserialize these messages. The commit adds schema reader support into KIF repush so that repush can retrieve unknown KME from source colo system store.

How was this PR tested?

New integ test

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.

Copy link
Contributor

@nisargthakkar nisargthakkar left a comment

Choose a reason for hiding this comment

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

Not read through the whole PR, but wanted to leave one comment

@shuhui-liu shuhui-liu changed the title [vpj] Add KME schema reader into KIF repush [vpj][controller][common] Add KME schema reader into repush Oct 21, 2023
Copy link
Contributor

@gaojieliu gaojieliu left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@shuhui-liu shuhui-liu merged commit c66b803 into linkedin:main Oct 31, 2023
30 checks passed
@shuhui-liu shuhui-liu deleted the repushKMESchemaReader branch October 31, 2023 21:22
elijahgrimaldi pushed a commit to elijahgrimaldi/venice that referenced this pull request Nov 1, 2023
…#623)

Today KIF repush does not have KME schema reader. During KME upgrades, if
controllers deploy first, they will produce control messages with new KME, then
repush will fail because it could not find the new KME in code to deserialize
these messages.

The commit adds schema reader support into KIF repush so that repush can
retrieve unknown KME from source colo system store.

Note: do not set system.schema.reader.enabled to true in a repush job before
the commit gets deployed to controllers.
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