keith-turner commented on code in PR #4563:
URL: https://github.com/apache/accumulo/pull/4563#discussion_r1603782430
##########
core/src/main/java/org/apache/accumulo/core/fate/zookeeper/ZooUtil.java:
##########
@@ -75,7 +74,7 @@ public LockID(String root, String serializedLID) {
path = root + "/" + sa[0].substring(0, lastSlash);
}
node = sa[0].substring(lastSlash + 1);
- eid = new BigInteger(sa[1], 16).longValue();
Review Comment:
Looked in git history and found issue
[ACCUMULO-965](https://issues.apache.org/jira/browse/ACCUMULO-965) as the
reason BigInteger was used. Switched the code to use `Long.parseUnsignedLong`
in 3c61d828df70f232994cc592d6a2d184fa700247 whcih I think will solve the same
problem that BigInteger was solving but more efficiently.
--
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]