Skip to content

feat(server): add option for task role election#2843

Merged
Pengzna merged 3 commits into
masterfrom
feat_sailuo
Jul 31, 2025
Merged

feat(server): add option for task role election#2843
Pengzna merged 3 commits into
masterfrom
feat_sailuo

Update role election default and refactor TaskManager

89b8625
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 30, 2025 in 0s

40.90% (+0.73%) compared to 3900cc3

View this Pull Request on Codecov

40.90% (+0.73%) compared to 3900cc3

Details

Codecov Report

❌ Patch coverage is 64.28571% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.90%. Comparing base (3900cc3) to head (89b8625).

Files with missing lines Patch % Lines
...in/java/org/apache/hugegraph/task/TaskManager.java 65.21% 8 Missing ⚠️
...n/java/org/apache/hugegraph/core/GraphManager.java 0.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2843      +/-   ##
============================================
+ Coverage     40.16%   40.90%   +0.73%     
+ Complexity      488      333     -155     
============================================
  Files           747      747              
  Lines         60163    60168       +5     
  Branches       7680     7683       +3     
============================================
+ Hits          24167    24610     +443     
+ Misses        33439    32980     -459     
- Partials       2557     2578      +21     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.