keith-turner commented on code in PR #5875:
URL: https://github.com/apache/accumulo/pull/5875#discussion_r2349762710


##########
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:
   I opened #5885
   
   >I think we should change the code to use zero when the session is unknown
   
   hmm, I don't know if the session can be negative.  



-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to