keith-turner commented on code in PR #5875:
URL: https://github.com/apache/accumulo/pull/5875#discussion_r2344643054
##########
server/manager/src/main/java/org/apache/accumulo/manager/TabletGroupWatcher.java:
##########
@@ -859,11 +859,11 @@ private void hostSuspendedTablet(TabletLists tLists,
TabletMetadata tm, Location
< tableConf.getTimeInMillis(Property.TABLE_SUSPEND_DURATION)) {
// Tablet is suspended. See if its tablet server is back.
TServerInstance returnInstance = null;
- Iterator<TServerInstance> find = tLists.destinations
- .tailMap(new TServerInstance(tm.getSuspend().server, "
")).keySet().iterator();
+ Iterator<TServerInstance> find =
+
tLists.destinations.tailMap(tm.getSuspend().server).keySet().iterator();
Review Comment:
started working on a little unit test for this code
--
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]