keith-turner commented on code in PR #3545:
URL: https://github.com/apache/accumulo/pull/3545#discussion_r1242892727
##########
server/base/src/main/java/org/apache/accumulo/server/manager/state/TabletManagementScanner.java:
##########
@@ -52,9 +59,16 @@ public class TabletManagementScanner implements
ClosableIterator<TabletManagemen
// scan over metadata table, looking for tablets in the wrong state based
on the live servers
// and online tables
try {
- mdScanner = context.createBatchScanner(tableName, Authorizations.EMPTY,
8);
+ Locations locs = context.tableOperations().locate(tableName,
ALL_TABLETS_RANGE);
Review Comment:
Another alternative is to go to the tablet location cache directly w/o
clearing it. Could just map tablets w/o a location to the same thing for
counting purposes and not wait for tablets to have locations to compute the num
threads.
--
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]