DomGarguilo commented on code in PR #6371:
URL: https://github.com/apache/accumulo/pull/6371#discussion_r3262750900
##########
server/monitor/src/main/java/org/apache/accumulo/monitor/next/InformationFetcher.java:
##########
@@ -412,6 +424,67 @@ public void run() {
}
}
+ class FateTransactionFetcher implements UpdateTask<Void> {
+
+ private final SystemInformation summary;
+ private Map<FateId,List<String>> emptyLocks = new HashMap<>();
+ private Map<FateId,LockRange> emptyRanges = new HashMap<>();
+
+ public FateTransactionFetcher(SystemInformation summary) {
+ this.summary = summary;
+ }
+
+ @Override
+ public void run() {
+ FateStatus status = AdminUtil.getTransactionStatus(stores, null, null,
null, emptyLocks,
+ emptyLocks, emptyRanges);
+ summary.processFateTransactions(status.getTransactions());
Review Comment:
I might be missing something but do we ever populate `emptyLocks`,
`emptyLocks`, `emptyRanges`? Given the names it seems like its intentional that
they are empty but why render them in the UI at all in that case? Or are these
placeholders for 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]