Skip to content

Commit ebcbce7

Browse files
authored
HDDS-11644. Close OMLayoutVersionManager (apache#7445)
1 parent 20e4969 commit ebcbce7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2334,6 +2334,10 @@ public boolean stop() {
23342334
if (bucketUtilizationMetrics != null) {
23352335
bucketUtilizationMetrics.unRegister();
23362336
}
2337+
2338+
if (versionManager != null) {
2339+
versionManager.close();
2340+
}
23372341
return true;
23382342
} catch (Exception e) {
23392343
LOG.error("OzoneManager stop failed.", e);

0 commit comments

Comments
 (0)