kevinrr888 commented on code in PR #5576:
URL: https://github.com/apache/accumulo/pull/5576#discussion_r2105375009


##########
core/src/main/java/org/apache/accumulo/core/clientImpl/ThriftTransportPool.java:
##########
@@ -73,7 +73,8 @@ public class ThriftTransportPool {
 
   private ThriftTransportPool(LongSupplier maxAgeMillis) {
     this.maxAgeMillis = maxAgeMillis;
-    this.checkThread = Threads.createThread("Thrift Connection Pool Checker", 
() -> {
+    // TODO KEVIN RATHBUN all this does is perform some resource cleanup, so 
may not be critical.
+    this.checkThread = Threads.createNonCriticalThread("Thrift Connection Pool 
Checker", () -> {

Review Comment:
   When looking at each thread I would ask myself:
   1) Will the death of this thread be detrimental to the functionality of the 
process?
   2) Will the thread be restarted on failures?
   
   Your explanation makes sense that should really only consider 2. A thread 
that does something seemingly less significant like resource cleanup could 
likely lead to other problems with the process down the line anyways, probably 
best to fail now if it will never be recreated.
   
   I'll reevaluate to see which, if any, need to be changed.



-- 
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