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

HDDS-12583. Skip Fields in protobuf while deserializing protobuf #8068

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swamirishi
Copy link
Contributor

Change-Id: I00f9f5d6b39e2d3e8a401b5ff55b7d35691f24ab

What changes were proposed in this pull request?

Currently while deserializing really bulky KeyInfo/DirectoryInfo a lot of time is spent on just deserializing the proto and creating a java pojo and some iterations of these keys don't need bulky fields. We can actually skip deserializing these bulky optional fields while deserializing the proto itself.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-12583

How was this patch tested?

Adding unit tests wip

Change-Id: I00f9f5d6b39e2d3e8a401b5ff55b7d35691f24ab
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.

1 participant