laststem opened a new issue, #19308: URL: https://github.com/apache/shardingsphere/issues/19308
The MAX_VALUE literally means the largest allowable value. ```java private static final long WORKER_ID_BITS = 10L; private static final long WORKER_ID_MAX_VALUE = 1L << WORKER_ID_BITS; ``` actually WORKER_ID range is `0 <= worker id <= 2^10-1`, not `0 <= worker id <= 2^10` Can I write a PR for the above? -- 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]
