adoroszlai commented on code in PR #7459:
URL: https://github.com/apache/ozone/pull/7459#discussion_r1850040809


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/replication/LegacyReplicationManager.java:
##########
@@ -1896,9 +1896,6 @@ public int getContainerInflightDeletionLimit() {
   }
 
   protected void notifyStatusChanged() {
-    //now, as the current scm is leader and it`s state is up-to-date,
-    //we need to take some action about replicated inflight move options.
-    onLeaderReadyAndOutOfSafeMode();

Review Comment:
   I think we can fix it be deferring `onLeaderReadyAndOutOfSafeMode` to 
another thread.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to