dlmarion commented on code in PR #4255:
URL: https://github.com/apache/accumulo/pull/4255#discussion_r1486740847
##########
server/base/src/main/java/org/apache/accumulo/server/manager/state/TabletManagementIterator.java:
##########
@@ -201,14 +201,13 @@ protected void consume() throws IOException {
actions.clear();
Exception error = null;
try {
+ LOG.trace("Evaluating extent: {}", tm);
+ computeTabletManagementActions(tm, actions);
Review Comment:
Maybe this is sufficient to fix the problem:
```
if (tm is Root or Metadata Table) {
LOG.trace("Evaluating extent: {}", tm);
computeTabletManagementActions(tm, actions);
} else {
if (tabletMgmtParams.getManagerState() != ManagerState.NORMAL
|| tabletMgmtParams.getOnlineTsevers().isEmpty()
|| tabletMgmtParams.getOnlineTables().isEmpty()) {
// when manager is in the process of starting up or shutting down
return everything.
actions.add(ManagementAction.NEEDS_LOCATION_UPDATE);
} else {
LOG.trace("Evaluating extent: {}", tm);
computeTabletManagementActions(tm, actions);
}
}
```
--
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]