Skip to content

HDDS-13624. Close ManagedWriteOptions while DBStoreBuilder.build fails to get DB store#9039

Merged
jojochuang merged 2 commits intoapache:masterfrom
priyeshkaratha:HDDS-13624_leak
Sep 19, 2025
Merged

HDDS-13624. Close ManagedWriteOptions while DBStoreBuilder.build fails to get DB store#9039
jojochuang merged 2 commits intoapache:masterfrom
priyeshkaratha:HDDS-13624_leak

Conversation

@priyeshkaratha
Copy link
Contributor

@priyeshkaratha priyeshkaratha commented Sep 16, 2025

What changes were proposed in this pull request?

There is memory leak due to object ManagedWriteOptions. So create ManagedWriteOptions after getting dbfile.

What is the link to the Apache JIRA

HDDS-13624

How was this patch tested?

NA

@jojochuang jojochuang self-requested a review September 17, 2025 07:52
@priyeshkaratha priyeshkaratha marked this pull request as ready for review September 17, 2025 07:54
@jojochuang jojochuang merged commit a27ce13 into apache:master Sep 19, 2025
53 checks passed
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