enhance: Optimize the task scheduling logic in DataCoord #39084
84.07% of diff hit (target 80.00%)
View this Pull Request on Codecov
84.07% of diff hit (target 80.00%)
Annotations
Check warning on line 149 in internal/datacoord/session/indexnode_manager.go
codecov / codecov/patch
internal/datacoord/session/indexnode_manager.go#L146-L149
Added lines #L146 - L149 were not covered by tests
Check warning on line 141 in internal/datacoord/task_analyze.go
codecov / codecov/patch
internal/datacoord/task_analyze.go#L141
Added line #L141 was not covered by tests
Check warning on line 191 in internal/datacoord/task_analyze.go
codecov / codecov/patch
internal/datacoord/task_analyze.go#L191
Added line #L191 was not covered by tests
Check warning on line 206 in internal/datacoord/task_analyze.go
codecov / codecov/patch
internal/datacoord/task_analyze.go#L206
Added line #L206 was not covered by tests
Check warning on line 215 in internal/datacoord/task_analyze.go
codecov / codecov/patch
internal/datacoord/task_analyze.go#L215
Added line #L215 was not covered by tests
Check warning on line 140 in internal/datacoord/task_index.go
codecov / codecov/patch
internal/datacoord/task_index.go#L140
Added line #L140 was not covered by tests
Check warning on line 173 in internal/datacoord/task_index.go
codecov / codecov/patch
internal/datacoord/task_index.go#L173
Added line #L173 was not covered by tests
Check warning on line 183 in internal/datacoord/task_index.go
codecov / codecov/patch
internal/datacoord/task_index.go#L183
Added line #L183 was not covered by tests
Check warning on line 218 in internal/datacoord/task_index.go
codecov / codecov/patch
internal/datacoord/task_index.go#L218
Added line #L218 was not covered by tests
Check warning on line 272 in internal/datacoord/task_index.go
codecov / codecov/patch
internal/datacoord/task_index.go#L272
Added line #L272 was not covered by tests
Check warning on line 274 in internal/datacoord/task_index.go
codecov / codecov/patch
internal/datacoord/task_index.go#L274
Added line #L274 was not covered by tests
Check warning on line 395 in internal/datacoord/task_scheduler.go
codecov / codecov/patch
internal/datacoord/task_scheduler.go#L395
Added line #L395 was not covered by tests
Check warning on line 495 in internal/datacoord/task_scheduler.go
codecov / codecov/patch
internal/datacoord/task_scheduler.go#L492-L495
Added lines #L492 - L495 were not covered by tests
Check warning on line 75 in internal/indexnode/task_analyze.go
codecov / codecov/patch
internal/indexnode/task_analyze.go#L74-L75
Added lines #L74 - L75 were not covered by tests
Check warning on line 95 in internal/indexnode/task_scheduler.go
codecov / codecov/patch
internal/indexnode/task_scheduler.go#L94-L95
Added lines #L94 - L95 were not covered by tests
Check warning on line 1229 in pkg/util/merr/utils.go
codecov / codecov/patch
pkg/util/merr/utils.go#L1224-L1229
Added lines #L1224 - L1229 were not covered by tests