This is an automated email from the ASF dual-hosted git repository.
sodonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 194dc41dc6 HDDS-8846. EC container is not updated on scm LAST USED
TIME (#4888)
194dc41dc6 is described below
commit 194dc41dc670b46016959036064cce9f71553168
Author: hao guo <[email protected]>
AuthorDate: Thu Jun 15 20:38:26 2023 +0800
HDDS-8846. EC container is not updated on scm LAST USED TIME (#4888)
---
.../org/apache/hadoop/hdds/scm/pipeline/WritableECContainerProvider.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/WritableECContainerProvider.java
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/WritableECContainerProvider.java
index 47a7a32ab5..be20a6f7b5 100644
---
a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/WritableECContainerProvider.java
+++
b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/pipeline/WritableECContainerProvider.java
@@ -137,6 +137,7 @@ public class WritableECContainerProvider
if (containerIsExcluded(containerInfo, excludeList)) {
existingPipelines.remove(pipelineIndex);
} else {
+ containerInfo.updateLastUsedTime();
return containerInfo;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]