Skip to content

Commit

Permalink
HDDS-11644. Close OMLayoutVersionManager (apache#7445)
Browse files Browse the repository at this point in the history
(cherry picked from commit ebcbce7)
  • Loading branch information
ivandika3 authored Nov 18, 2024
1 parent 78b83e4 commit e970807
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2334,6 +2334,10 @@ public boolean stop() {
if (bucketUtilizationMetrics != null) {
bucketUtilizationMetrics.unRegister();
}

if (versionManager != null) {
versionManager.close();
}
return true;
} catch (Exception e) {
LOG.error("OzoneManager stop failed.", e);
Expand Down

0 comments on commit e970807

Please sign in to comment.