-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade metacat more intelligently #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
vchendrix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The overal structure of the changes is OK but it is not quite there. Review my comments and then set a time to discuss this with me.
08d808c to
6def483
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added some comments to the docker-entrypoint.sh changes. I would like you to think about and address the following issues.
Graceful Shutdown
Basically I would like to see a graceful tomcat shutdown. Since our application may take longer to shutdown when there is more data, we want to give the application to honor executing requests before shutting down. You don't want to kill processes unless the shutdown is taking too long.
Timeout logic and startup
What do you think the best logic is for timeout? Do you..
- exit tomcat immediatly?
- try to startup anyway?
6def483 to
c4617f0
Compare
Issue ess-dive/ess-dive-project#134: - Check upgrade status from metacat node capabilities - Make sure port 8080 is avaialble before starting tomcat again
Closes ess-dive/ess-dive-project#134 The upgrade requires a restart and we can't confidently shutdown tomcat before a restart. The best course of action is to exit the container after an upgrade which forces the container manager to start up a new container with the upgaded application. Logic for upgrade + Perform upgrade + Determine it completes successfully + shutdown tomcat + wait for application ports to be release + exit container
f450beb to
abdf3f0
Compare
Upgrade metacat more intelligently by waiting for metacat node capabilities status change.
Description
Description
Closes ess-dive/ess-dive-project#134
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checked the DB loading after the upgrade.
Test Configuration