dlmarion commented on code in PR #5637:
URL: https://github.com/apache/accumulo/pull/5637#discussion_r2144986217
##########
server/manager/src/main/java/org/apache/accumulo/manager/Manager.java:
##########
@@ -1892,10 +1890,11 @@ private long numMigrations() {
long count = 0;
for (DataLevel dl : DataLevel.values()) {
// prev row needed for the extent
- try (var tabletsMetadata =
getContext().getAmple().readTablets().forLevel(dl)
- .fetch(TabletMetadata.ColumnType.PREV_ROW,
TabletMetadata.ColumnType.MIGRATION).build()) {
- count += tabletsMetadata.stream()
- .filter(tabletMetadata -> tabletMetadata.getMigration() !=
null).count();
+ try (var tabletsMetadata = getContext()
+
.getAmple().readTablets().forLevel(dl).fetch(TabletMetadata.ColumnType.PREV_ROW,
+ TabletMetadata.ColumnType.MIGRATION,
TabletMetadata.ColumnType.LOCATION)
Review Comment:
This adds LOCATION, is that intended or a copy/paste issue?
--
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]