EdColeman opened a new issue, #3282:
URL: https://github.com/apache/accumulo/issues/3282

   **Describe the bug**
   The shutdown code in TableServer may not be working as expected.  The code 
at 
https://github.com/apache/accumulo/blob/7f49667f1347ba446d0f8e31271df8ba7ee48397/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java#L871
 is looping on a variable (shutdownComplete) that never seems to be updated to 
allow the loop to exit and the rest of the shutdown code a chance to run.
   
   **Versions (OS, Maven, Java, and others, as appropriate):**
    - Affected version(s) of this project: seems to have existed since 1.4
   
   **Expected behavior**
   On shutdown, either all of the code should get a chance to run - or things 
restructured so that it is expected that none of the code needs to run and the 
loop removed.
   
   We are probably handing the issues where the rest of the code never runs on 
recovery (assuming that it never runs now). Basically if shutdown and a `kill 
-9` are treated the same, then the rest of the shutdown code that is not 
running now may be unnecessary.


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

Reply via email to