blackberrier opened a new pull request #5572:
URL: https://github.com/apache/dolphinscheduler/pull/5572


   <!--Thanks very much for contributing to Apache DolphinScheduler. Please 
review 
https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html
 before opening a pull request.-->
   
   
   ## Purpose of the pull request
   
   Check status of taskInstance from cache, and the cache refresh task state 
from database periodically.
   
   ## Brief change log
   
   Master get task status from taskInstanceCacheManager instead of accessing 
database.
   In taskInstanceCacheManager, I added a thread  which query 
NEED_FAULT_TOLERANCE task from database and update the cache. To accelerate 
database access, I use indexed id from cache and check if its status equals 
NEED_FAULT_TOLERANCE.
   
   ## Verify this pull request
   
   This pull request is code cleanup without any test coverage.
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to