ctubbsii commented on code in PR #4070:
URL: https://github.com/apache/accumulo/pull/4070#discussion_r1426052805
##########
server/base/src/main/java/org/apache/accumulo/server/manager/state/MetaDataTableScanner.java:
##########
@@ -176,8 +176,7 @@ public static TabletLocationState
createTabletLocationState(Key k, Value v)
}
current = location;
} else if (cf.compareTo(LogColumnFamily.NAME) == 0) {
- String[] split =
entry.getValue().toString().split("\\|")[0].split(";");
- walogs.add(Arrays.asList(split));
+
walogs.add(Collections.singleton(LogEntry.fromMetaWalEntry(entry).getFilePath()));
Review Comment:
There's probably additional room for improvement in here, because walogs
doesn't need to be a collection of collections of strings anymore (probably),
but this is a sufficient fix for now. I can look at more changes later.
--
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]