Apache9 commented on code in PR #7830:
URL: https://github.com/apache/hbase/pull/7830#discussion_r3036950482
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionInTransitionTracker.java:
##########
@@ -43,8 +46,11 @@ public class RegionInTransitionTracker {
private final ConcurrentSkipListMap<RegionInfo, RegionStateNode>
regionInTransition =
new ConcurrentSkipListMap<>(RegionInfo.COMPARATOR);
+ private final ConcurrentHashMap<RegionInfo, Long> regionEnterTimestamp =
Review Comment:
Is it possible to merge this map to the above regionInTransition map? We can
change the value of the above map to contain the timestamp. And do we really
need ConcurrentSkipListMap here? Can we just change the above map to
ConcurrentHashMap for better performance?
--
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]