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

[router][venice-thin-client] Add safeguard against invalid schema ID #1178

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

majisourav99
Copy link
Contributor

Add safeguard against invalid schema ID in value schema lookup

If schema repo returns invalid schema id, that fails client requests. This PR adds safeguard against such invalid schemas in meta data handler and client side schema reader.

How was this PR tested?

CI

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

@FelixGV FelixGV left a comment

Choose a reason for hiding this comment

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

Thanks Sourav. Just a minor comment...

FelixGV
FelixGV previously approved these changes Sep 17, 2024
Copy link
Contributor

@FelixGV FelixGV left a comment

Choose a reason for hiding this comment

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

Thanks!

@majisourav99 majisourav99 merged commit 37ea7b3 into linkedin:main Sep 17, 2024
32 checks passed
@majisourav99 majisourav99 deleted the clientFix branch September 17, 2024 20:44
m-nagarajan pushed a commit to m-nagarajan/venice that referenced this pull request Sep 17, 2024
…inkedin#1178)

If schema repo returns invalid schema id, that fails client requests. This PR adds safeguard against such invalid schemas in meta data handler and client side schema reader.
---------
Co-authored-by: Sourav Maji <[email protected]>
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