You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/03/01 06:21:11 UTC

[GitHub] [ozone] bshashikant commented on a change in pull request #1936: HDDS-4807. Add install checkpoint in SCMStateMachine.

bshashikant commented on a change in pull request #1936:
URL: https://github.com/apache/ozone/pull/1936#discussion_r584469447



##########
File path: hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/states/ContainerStateMap.java
##########
@@ -128,6 +124,21 @@ public void addContainer(final ContainerInfo info)
     }
   }
 
+  /**
+   * The idea here is to rebuild the containerStateMap once the SCM StateMachine
+   * reloads from the the DBCheckpoint downloaded from leader SCM.
+   *
+   * Replica Map won't be rebuild but will remain as it is.
+   */
+  public void build(final ContainerInfo info) throws SCMException {

Review comment:
       NO, it won't be.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org