blueszhangsh opened a new issue, #7669:
URL: https://github.com/apache/rocketmq/issues/7669

   ### Before Creating the Enhancement Request
   
   - [X] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   change the type of delayLevelTable from ConcurrentHashMap to 
ConcurrentSkipListMap
   
   ### Motivation
   
   Iterating map variable "delayLevelTable" in order should be JDK-independent. 
 ConcurrentHashMap does not provide guarantee iterating keys in orders. Though 
iterating ConcurrentHashMap<Integer, Long> is  by order due to implementation 
of ConcurrentHashMap, it should be jdk-independent.
   
   ### Describe the Solution You'd Like
   
   change the type of delayLevelTable from ConcurrentHashMap to 
ConcurrentSkipListMap
   
   ### Describe Alternatives You've Considered
   
   none.
   
   ### Additional Context
   
   _No response_


-- 
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: commits-unsubscr...@rocketmq.apache.org.apache.org

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

Reply via email to