hemantk-12 opened a new pull request, #4465:
URL: https://github.com/apache/ozone/pull/4465
## What changes were proposed in this pull request?
Close leaking `ManagedColumnFamilyOptions` object in OmSnapshotManager.
```
Created ManagedColumnFamilyOptions@451f08ea
at
org.apache.hadoop.hdds.utils.db.managed.ManagedColumnFamilyOptions.<init>(ManagedColumnFamilyOptions.java:47)
at
org.apache.hadoop.ozone.om.OmSnapshotManager.<init>(OmSnapshotManager.java:139)
at
org.apache.hadoop.ozone.om.OzoneManager.instantiateServices(OzoneManager.java:774)
at org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:628)
at
org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:713)
...
```
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8265
## How was this patch tested?
No more leak warnings `ManagedColumnFamilyOptions is not closed properly`
when running [Snapshot integration
test](https://github.com/apache/ozone/blob/1236414c1c46c67c92f37499b0b61921cdfab39a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOmSnapshot.java#L479).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]