-
Notifications
You must be signed in to change notification settings - Fork 188
Conversation
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #651 +/- ##
===========================================
Coverage 57.0840% 57.0840%
===========================================
Files 204 204
Lines 20899 20899
===========================================
Hits 11930 11930
Misses 7818 7818
Partials 1151 1151 |
/run-all-tests |
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.
how about adding test cases in integration test? for example, stop the task and then start the task?
sources = append(sources, stCfg.SourceID) | ||
} | ||
if req.RemoveMeta { | ||
if scm := s.scheduler.GetSubTaskCfgsByTask(cfg.Name); len(scm) > 0 { |
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.
Do we need any mechanism to prevent start-task
in another client when removing meta?
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.
Add removeMetaLock
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.
why need a lock, may start task with same task name?
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.
em... may user start-task
again when the previous start-task
is still removing meta?
/run-all-tests |
@lichunzhu need to resolve conflicts |
will resolve conflicts after #654 is merged at one time |
@WangXiangUSTC Already resolved. |
/run-all-tests |
/run-all-tests |
/run-all-tests |
2 similar comments
/run-all-tests |
/run-all-tests |
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.
LGTM
What problem does this PR solve?
#567
support
remove-meta
for dm-haWhat is changed and how it works?
remove-meta
in dm-worker.Check List
Tests
Code changes
Related changes