Skip to content

enhance: improve rootcoord task scheduling policy

Codecov / codecov/project succeeded Nov 6, 2024 in 0s

81.02% (target 77.00%)

View this Pull Request on Codecov

81.02% (target 77.00%)

Details

Codecov Report

Attention: Patch coverage is 94.35897% with 11 lines in your changes missing coverage. Please review.

Project coverage is 81.02%. Comparing base (9a9de3d) to head (6cabb53).
Report is 4 commits behind head on master.

Current head 6cabb53 differs from pull request most recent head b746aa3

Please upload reports for the commit b746aa3 to get more accurate results.

Files with missing lines Patch % Lines
internal/rootcoord/scheduler.go 85.00% 4 Missing and 2 partials ⚠️
internal/rootcoord/task.go 88.63% 4 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #37352      +/-   ##
==========================================
- Coverage   83.25%   81.02%   -2.24%     
==========================================
  Files        1015     1305     +290     
  Lines      157480   183085   +25605     
==========================================
+ Hits       131111   148343   +17232     
- Misses      21177    29542    +8365     
- Partials     5192     5200       +8     
Components Coverage Δ
Client ∅ <ø> (∅)
Core 67.17% <ø> (∅)
Go 83.28% <94.35%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
internal/rootcoord/alter_alias_task.go 100.00% <100.00%> (ø)
internal/rootcoord/alter_collection_task.go 95.18% <100.00%> (+0.44%) ⬆️
internal/rootcoord/alter_database_task.go 87.35% <100.00%> (+0.77%) ⬆️
internal/rootcoord/create_alias_task.go 100.00% <100.00%> (ø)
internal/rootcoord/create_collection_task.go 90.27% <100.00%> (+0.09%) ⬆️
internal/rootcoord/create_db_task.go 84.21% <100.00%> (+1.85%) ⬆️
internal/rootcoord/create_partition_task.go 91.30% <100.00%> (+0.71%) ⬆️
internal/rootcoord/describe_collection_task.go 87.50% <100.00%> (+5.14%) ⬆️
internal/rootcoord/describe_db_task.go 100.00% <100.00%> (ø)
internal/rootcoord/drop_alias_task.go 100.00% <100.00%> (ø)
... and 13 more

... and 319 files with indirect coverage changes