keith-turner commented on code in PR #5786:
URL: https://github.com/apache/accumulo/pull/5786#discussion_r2286137288
##########
core/src/main/java/org/apache/accumulo/core/fate/zookeeper/FateLock.java:
##########
@@ -68,19 +72,22 @@ public String toString() {
}
}
- public static class FateLockEntry implements Comparable<FateLockEntry> {
+ public static class FateLockEntry {
final LockType lockType;
final FateId fateId;
+ final LockRange range;
- private FateLockEntry(LockType lockType, FateId fateId) {
+ private FateLockEntry(LockType lockType, FateId fateId, LockRange range) {
this.lockType = Objects.requireNonNull(lockType);
this.fateId = Objects.requireNonNull(fateId);
+ this.range = range;
}
private FateLockEntry(String entry) {
- var fields = entry.split(":", 2);
+ var fields = entry.split("_", 4);
Review Comment:
updated in 2bcfc43ab4fc5770025b631047a89a1eb8dc464b
--
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]