RaigorJiang opened a new pull request #12807:
URL: https://github.com/apache/shardingsphere/pull/12807


   Fixes #12806.
   
   Changes proposed in this pull request:
   - change metaDataMap from LinkedHashMap to ConcurrentHashMap.
   - add null check before get from metaDataMap.
   - update test cases.
   
   Description:
   - ConcurrentHashMap does not support null keys, so judge before get, 
otherwise NPE will occur.
   - The linkedhashMap can maintain the order of the elements, but 
ConcurrentHashMap cannot guarantee this, so the elements become disordered.


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


Reply via email to