sumitagrawl commented on code in PR #10463:
URL: https://github.com/apache/ozone/pull/10463#discussion_r3378142671


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/container/states/ContainerEntry.java:
##########
@@ -33,7 +33,7 @@
  */
 public class ContainerEntry {
   private final ContainerInfo info;
-  private final Map<DatanodeID, ContainerReplica> replicasMap = new 
TreeMap<>();
+  private final Map<DatanodeID, ContainerReplica> replicasMap = new 
ConcurrentSkipListMap<>();

Review Comment:
   Currently, there is no api to access consolidated list of container replica, 
so its access in container stripedLock only, so this does not need to be 
protected at the moment.



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