ShenFeng312 commented on PR #37472:
URL: https://github.com/apache/shardingsphere/pull/37472#issuecomment-3688574090

   Currently, with an auto-increment ID scheme, there might be a scenario where 
some clients use connection pools while others connect directly. Suppose the 
auto-increment ID overflows but some original connections haven’t been released 
yet. In that case, duplicate IDs could occur.
   I think we can manage this by maintaining a bitmap based on the maximum 
number of connections. This would allow us to quickly find the next available 
ID. Do you agree? @terrymanu @MilanTyagi2004 


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