hza2022x commented on issue #10640:
URL: 
https://github.com/apache/shardingsphere/issues/10640#issuecomment-1469167353

   i changed the code to the following:
   
           List<Connection> result;
           if (connections.size() >= connectionSize) {
               // change to random
               //result = new ArrayList<>(connections).subList(0, 
connectionSize);
               result = CollectionUtil.random(connections, connectionSize);     
       
           } 


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