Skip to content

enhance: Add compaction task slot usage logic

Codecov / codecov/patch succeeded Jul 18, 2024 in 1s

83.18% of diff hit (target 80.00%)

View this Pull Request on Codecov

83.18% of diff hit (target 80.00%)

Annotations

Check warning on line 623 in internal/datacoord/compaction.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/compaction.go#L623

Added line #L623 was not covered by tests

Check warning on line 421 in internal/datacoord/compaction_task_clustering.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/compaction_task_clustering.go#L420-L421

Added lines #L420 - L421 were not covered by tests

Check warning on line 455 in internal/datacoord/compaction_task_clustering.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datacoord/compaction_task_clustering.go#L453-L455

Added lines #L453 - L455 were not covered by tests

Check warning on line 89 in internal/datanode/compaction/executor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datanode/compaction/executor.go#L88-L89

Added lines #L88 - L89 were not covered by tests

Check warning on line 102 in internal/datanode/compaction/l0_compactor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datanode/compaction/l0_compactor.go#L101-L102

Added lines #L101 - L102 were not covered by tests

Check warning on line 99 in internal/datanode/compaction/mix_compactor.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datanode/compaction/mix_compactor.go#L98-L99

Added lines #L98 - L99 were not covered by tests

Check warning on line 263 in internal/datanode/services.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/datanode/services.go#L263

Added line #L263 was not covered by tests

Check warning on line 1190 in pkg/util/merr/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/util/merr/utils.go#L1190

Added line #L1190 was not covered by tests

Check warning on line 1198 in pkg/util/merr/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/util/merr/utils.go#L1198

Added line #L1198 was not covered by tests