Skip to content

Conversation

@ruanwenjun
Copy link
Member

@ruanwenjun ruanwenjun commented Jan 16, 2024

Purpose of the pull request

SetDefaultUncaughtExceptionHandler in thread.

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@codecov-commenter
Copy link

codecov-commenter commented Jan 16, 2024

Codecov Report

Attention: 36 lines in your changes are missing coverage. Please review.

Comparison is base (44c356d) 38.03% compared to head (2619fb1) 38.02%.

❗ Current head 2619fb1 differs from pull request most recent head c873e15. Consider uploading reports for the commit c873e15 to get more accurate results

Files Patch % Lines
...hinscheduler/alert/metrics/AlertServerMetrics.java 0.00% 4 Missing ⚠️
...dolphinscheduler/api/metrics/ApiServerMetrics.java 0.00% 4 Missing ⚠️
...ler/server/master/metrics/MasterServerMetrics.java 0.00% 4 Missing ⚠️
...ler/server/worker/metrics/WorkerServerMetrics.java 0.00% 4 Missing ⚠️
...org/apache/dolphinscheduler/alert/AlertServer.java 0.00% 2 Missing ⚠️
...che/dolphinscheduler/api/ApiApplicationServer.java 0.00% 2 Missing ⚠️
...lphinscheduler/common/thread/BaseDaemonThread.java 0.00% 2 Missing ⚠️
...e/dolphinscheduler/server/master/MasterServer.java 0.00% 2 Missing ⚠️
...uler/server/master/registry/ServerNodeManager.java 0.00% 2 Missing ⚠️
...e/dolphinscheduler/server/worker/WorkerServer.java 0.00% 2 Missing ⚠️
... and 8 more
Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15496      +/-   ##
============================================
- Coverage     38.03%   38.02%   -0.02%     
- Complexity     4688     4692       +4     
============================================
  Files          1304     1304              
  Lines         44791    44811      +20     
  Branches       4803     4803              
============================================
+ Hits          17035    17038       +3     
- Misses        25904    25922      +18     
+ Partials       1852     1851       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addUncacheExceptionHandler branch from 0a90348 to 8982c55 Compare January 17, 2024 01:53
}

public static void registerUncachedException(final Supplier<Number> supplier) {
Gauge.builder("ds.master.uncached.exception", supplier)
Copy link
Member

Choose a reason for hiding this comment

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

we should change to ds.worker.uncached.exception

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addUncacheExceptionHandler branch from 5e2237b to b513008 Compare January 17, 2024 13:24
@ruanwenjun ruanwenjun added 3.2.1 improvement make more easy to user or prompt friendly labels Jan 17, 2024
@ruanwenjun ruanwenjun requested a review from fuchanghai January 17, 2024 14:05
@ruanwenjun ruanwenjun self-assigned this Jan 17, 2024
@ruanwenjun ruanwenjun force-pushed the dev_wenjun_addUncacheExceptionHandler branch from b513008 to 509ea1a Compare January 17, 2024 14:05
Copy link
Member

@fuchanghai fuchanghai left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

40.4% Coverage on New Code (required ≥ 60%)

See analysis details on SonarCloud

@fuchanghai fuchanghai merged commit 64e1e67 into apache:dev Jan 18, 2024
@ruanwenjun ruanwenjun deleted the dev_wenjun_addUncacheExceptionHandler branch May 31, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.2.1 backend improvement make more easy to user or prompt friendly ready-to-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants