aryangupta1998 commented on code in PR #8081:
URL: https://github.com/apache/ozone/pull/8081#discussion_r2004872704


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -644,6 +655,9 @@ private OzoneManager(OzoneConfiguration conf, StartupOption 
startupOption)
       kmsProvider = null;
       LOG.error("Fail to create Key Provider");
     }
+    if (isLeaderReady() && kmsProvider != null) {

Review Comment:
   So, do we want the cache to warm up upon OM restart or when the leader 
changes?
   
   > There are certain things we want leader to take on as soon as it becomes a 
leader.
   
   What operations we want to take care of as soon as OM becomes a leader?



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

To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org

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


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

Reply via email to