gagan405 opened a new pull request, #7559:
URL: https://github.com/apache/gravitino/pull/7559

   ### What changes were proposed in this pull request?
   
   server shutdown logic should correctly check for forceKill
   
   The if statement should check for forcekill variable value. Earlier, it was 
doing a comparison against the string `forcekill` which would always evaluate 
to true.
   
   ### Why are the changes needed?
   
   Required for correct shutdown of the service
   
   Fix: #7513 
   
   ### Does this PR introduce _any_ user-facing change?
   N/A
   
   ### How was this patch tested?
   ```
   ./bin/gravitino.sh start
   ./bin/gravitino.sh stop
   ```
   
   (also modified the script to echo some more logs while shutting down. not 
committed in the patch, done only for local testing)


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