You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by so...@apache.org on 2022/02/07 11:07:00 UTC
[ozone] branch HDDS-3816-ec updated: HDDS-6255. EC: Replication Manager should skip EC Containers (#3038)
This is an automated email from the ASF dual-hosted git repository.
sodonnell pushed a commit to branch HDDS-3816-ec
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/HDDS-3816-ec by this push:
new ca6e4c3 HDDS-6255. EC: Replication Manager should skip EC Containers (#3038)
ca6e4c3 is described below
commit ca6e4c3599c0d2b694af30894d8008d71d0005c3
Author: Stephen O'Donnell <st...@gmail.com>
AuthorDate: Mon Feb 7 11:06:42 2022 +0000
HDDS-6255. EC: Replication Manager should skip EC Containers (#3038)
---
.../org/apache/hadoop/hdds/scm/container/ReplicationManager.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/ReplicationManager.java b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/ReplicationManager.java
index 7f52a06..cacf4b3 100644
--- a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/ReplicationManager.java
+++ b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/ReplicationManager.java
@@ -477,6 +477,13 @@ public class ReplicationManager implements SCMService {
}
}
+ if (container.getReplicationType() == HddsProtos.ReplicationType.EC) {
+ // TODO We do not support replicating EC containers as yet, so at this
+ // point, after handing the closing etc states, we just return.
+ // EC Support will be added later.
+ return;
+ }
+
/*
* Before processing the container we have to reconcile the
* inflightReplication and inflightDeletion actions.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org