Skip to content

[Fix-7773][Api] malform batchDeleteProcessInstanceByIds log output#7774

Merged
caishunfeng merged 5 commits intoapache:devfrom
SbloodyS:bug_7773
Jan 4, 2022
Merged

[Fix-7773][Api] malform batchDeleteProcessInstanceByIds log output#7774
caishunfeng merged 5 commits intoapache:devfrom
SbloodyS:bug_7773

Conversation

@SbloodyS
Copy link
Copy Markdown
Member

@SbloodyS SbloodyS commented Jan 3, 2022

Purpose of the pull request

This pr will close #7773

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 3, 2022

Codecov Report

Merging #7774 (ec66731) into dev (fa906e7) will decrease coverage by 0.10%.
The diff coverage is 33.33%.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev    #7774      +/-   ##
============================================
- Coverage     40.95%   40.85%   -0.11%     
+ Complexity     3671     3666       -5     
============================================
  Files           642      642              
  Lines         26707    26730      +23     
  Branches       2997     3004       +7     
============================================
- Hits          10939    10920      -19     
- Misses        14716    14761      +45     
+ Partials       1052     1049       -3     
Impacted Files Coverage Δ
...r/api/service/impl/ProcessInstanceServiceImpl.java 60.73% <0.00%> (ø)
.../org/apache/dolphinscheduler/api/enums/Status.java 100.00% <100.00%> (ø)
...he/dolphinscheduler/common/enums/SqoopJobType.java 0.00% <0.00%> (-88.89%) ⬇️
...r/plugin/registry/zookeeper/ZookeeperRegistry.java 48.21% <0.00%> (-8.04%) ⬇️
...org/apache/dolphinscheduler/remote/utils/Host.java 37.77% <0.00%> (-2.23%) ⬇️
...inscheduler/common/task/sqoop/SqoopParameters.java 74.00% <0.00%> (-2.00%) ⬇️
...e/dolphinscheduler/remote/NettyRemotingClient.java 52.11% <0.00%> (-0.71%) ⬇️
...api/service/impl/ProcessDefinitionServiceImpl.java 25.70% <0.00%> (-0.53%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa906e7...ec66731. Read the comment docs.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Jan 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

33.3% 33.3% Coverage
0.0% 0.0% Duplication

ProcessInstance processInstance = processService.findProcessInstanceDetailById(processInstanceId);
if (null == processInstance) {
putMsg(result, Status.PROCESS_INSTANCE_NOT_EXIST, processInstanceId);
putMsg(result, Status.PROCESS_INSTANCE_NOT_EXIST, String.valueOf(processInstanceId));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the different of log?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eg:
The input processInstanceId is 1234.

Before: 工 作 流 实 例 [1,234]不 存 在
After: 工 作 流 实 例 [1234]不 存 在

Status.PROCESS_INSTANCE_NOT_EXIST using {0} as parameter while input type in integer may cause this problem.

Copy link
Copy Markdown
Contributor

@caishunfeng caishunfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@caishunfeng caishunfeng merged commit e34a8bc into apache:dev Jan 4, 2022
@SbloodyS SbloodyS deleted the bug_7773 branch January 4, 2022 02:12
SbloodyS added a commit to SbloodyS/dolphinscheduler that referenced this pull request Jan 7, 2022
…pache#7774)

* bug_7773

* bug_7773

* bug_7773

* bug_7773

* bug_7773
caishunfeng pushed a commit that referenced this pull request Jan 9, 2022
* cherry-pick

* fix bug_7629 (#7630)

* fix bug_7564 (#7625)

* fix bug_7512 (#7716)

* [Fix-7459][Sqoop] running error in parallel (#7752)

* fix bug_7459

* fix bug_7459

* fix bug_7459

* fix bug_7459

* fix bug_7459

Co-authored-by: SbloodyS <sbloodys@qq.com>

* [Feature-7576][Master] Optimize complement task's date (#7585)

* feature_7576

* feature_7576

* feature 7576

* feature 7576

* [Fix-7767]Task instance is not deleted while deleting the process instance (#7768)

* fix bug_7767

* fix bug_7767

* fix bug_7767

* fix bug_7767

* fix bug_7767

* [Feature-5951][Improvement][UI] When creating an alarm instance, the alarm instance name input box prompts optimization (#7770)

* cherry-pick

* [Fix-7773][Api] malform batchDeleteProcessInstanceByIds log output (#7774)

* bug_7773

* bug_7773

* bug_7773

* bug_7773

* bug_7773

* [Feature-7777][UI] process definition page add create username (#7778)

* feature_7777

* fix bug_7499 (#7739)

Co-authored-by: SbloodyS <sbloodys@qq.com>

* fix conflict

* fix conflict

* fix mapState never used error

* fix bug_7789 (#7790)

Co-authored-by: SbloodyS <sbloodys@qq.com>

Co-authored-by: SbloodyS <sbloodys@qq.com>
Co-authored-by: wangyizhi <wangyizhi1_yewu@cmss.chinamobile.com>
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.

[Bug] [Api] malform batchDeleteProcessInstanceByIds log output

3 participants