Skip to content

move resource usages interactions into TaskResourceTrackingService

Codecov / codecov/patch succeeded Jun 7, 2024 in 0s

85.45% of diff hit (target 71.42%)

View this Pull Request on Codecov

85.45% of diff hit (target 71.42%)

Annotations

Check warning on line 211 in libs/core/src/main/java/org/opensearch/core/tasks/resourcetracker/TaskResourceInfo.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/core/src/main/java/org/opensearch/core/tasks/resourcetracker/TaskResourceInfo.java#L211

Added line #L211 was not covered by tests

Check warning on line 138 in server/src/main/java/org/opensearch/action/search/SearchRequestContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/SearchRequestContext.java#L138

Added line #L138 was not covered by tests

Check warning on line 144 in server/src/main/java/org/opensearch/action/search/SearchRequestOperationsListener.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/action/search/SearchRequestOperationsListener.java#L143-L144

Added lines #L143 - L144 were not covered by tests

Check warning on line 486 in server/src/main/java/org/opensearch/tasks/Task.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/tasks/Task.java#L486

Added line #L486 was not covered by tests

Check warning on line 295 in server/src/main/java/org/opensearch/tasks/TaskResourceTrackingService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/tasks/TaskResourceTrackingService.java#L295

Added line #L295 was not covered by tests

Check warning on line 309 in server/src/main/java/org/opensearch/tasks/TaskResourceTrackingService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/tasks/TaskResourceTrackingService.java#L308-L309

Added lines #L308 - L309 were not covered by tests

Check warning on line 330 in server/src/main/java/org/opensearch/tasks/TaskResourceTrackingService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/tasks/TaskResourceTrackingService.java#L329-L330

Added lines #L329 - L330 were not covered by tests

Check warning on line 355 in server/src/main/java/org/opensearch/tasks/TaskResourceTrackingService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/tasks/TaskResourceTrackingService.java#L353-L355

Added lines #L353 - L355 were not covered by tests