Skip to content

HDDS-10767. Reducing DatanodeDetails in the ContainerLocationCache#6602

Closed
guohao-rosicky wants to merge 2 commits intomasterfrom
guohao-HDDS-10767-dev
Closed

HDDS-10767. Reducing DatanodeDetails in the ContainerLocationCache#6602
guohao-rosicky wants to merge 2 commits intomasterfrom
guohao-HDDS-10767-dev

Conversation

@guohao-rosicky
Copy link
Contributor

What changes were proposed in this pull request?

In the Ozone Community Meeting, it was discussed that DiDi company's om often occurs full gc, after jmap, it was found too many DatanodeDetails objects occupy memory, this pr will reduce the generation of DatanodeDetails objects.

What is the link to the Apache JIRA

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

How was this patch tested?

UT

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

@guohao-rosicky Thanks for the patch. For future PRs, please create the dev branch in your fork, not in apache/ozone.

In Kubernetes IP address may change when restarted. Looks like the change in caching has some problem with that (read fails after restart).

@guohao-rosicky guohao-rosicky deleted the guohao-HDDS-10767-dev branch April 29, 2024 12:36
@guohao-rosicky
Copy link
Contributor Author

My problem, I will delete this branch. @adoroszlai Thanks.

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