Skip to content
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

Es/task manager task class #68

Merged
merged 15 commits into from
May 1, 2023
Merged

Es/task manager task class #68

merged 15 commits into from
May 1, 2023

Conversation

HAN-oQo
Copy link
Collaborator

@HAN-oQo HAN-oQo commented Apr 26, 2023

PURPOSE OF PR

  • Simple summary of this PR
    Added functions for Task Fault Tolerance.
    Additionally, added the test code for this functions.

What type of PR is it?

  • fix / feature / improvement / hot-fix / refactoring
    Improvement

JIRA ISSUE

HAVE YOU CHECKED ...

  • ADD JIRA ID ON PR TITLE (ex. [DDAN-1234] PR TITLE)
  • pre-commit
  • Branch Format ( type/issue-NUM ) (ex. refactoring/DDAN-1234 )

Explanation

( Adding screenshot would be great help )

  • The task manager periodically checks whether the task has died abnormally, and notifies the master if it has died.
  • The master puts an abnormally terminated task into a queue and re-excutes it.

How to Test (Optional)

image
When the program exited abnormally( sample code above )

image
The task is re-executed like the screenshot above.

image
When you execute test code("test_task_manager_v2.py"), you can test the functions of task manager.

Question (Optional)

Etc (Optional)

@sinunu sinunu merged commit 87a576a into develop May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants