kasakrisz opened a new pull request #9: AMBARI-24807 - Infra Manager: unable to 
restart job
URL: https://github.com/apache/ambari-infra/pull/9
 
 
   ## What changes were proposed in this pull request?
   
   When a job is running and a stop signal is sent just right after the infra 
manager process is killed the job remains in Stopping/Unknown state.
   In this case the job won't be restarted when Infra Manager is restarted and 
also a new instance of the job can not be scheduled.
   Fix.: Since the job and the database is in an inconsistent state abandon the 
job.
   Archive jobs are delete the chunk of documents only if the chunk was 
successfully persisted to its destination. 
   
   ## How was this patch tested?
   
   UTs and ITs passed
   
   Manually:
   1. I have an inconsistent job database with a job in an unknown state.
   2. Start Infra manager using this database
   3. Start a new instance of the job which state was unknown
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to