Properly designate model state for actively training models when nodes crash or leave cluster #1317
76.98% of diff hit (target 85.15%)
View this Pull Request on Codecov
76.98% of diff hit (target 85.15%)
Annotations
Check warning on line 262 in src/main/java/org/opensearch/knn/index/IndexUtil.java
codecov / codecov/patch
src/main/java/org/opensearch/knn/index/IndexUtil.java#L262
Added line #L262 was not covered by tests
Check warning on line 77 in src/main/java/org/opensearch/knn/indices/ModelMetadata.java
codecov / codecov/patch
src/main/java/org/opensearch/knn/indices/ModelMetadata.java#L77
Added line #L77 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/knn/plugin/transport/TrainingModelTransportAction.java#L89
Added line #L89 was not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobClusterStateListener.java#L91-L92
Added lines #L91 - L92 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobClusterStateListener.java#L99-L102
Added lines #L99 - L102 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobClusterStateListener.java#L154-L155
Added lines #L154 - L155 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobClusterStateListener.java#L167-L168
Added lines #L167 - L168 were not covered by tests
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobClusterStateListener.java#L172-L173
Added lines #L172 - L173 were not covered by tests
Check warning on line 112 in src/main/java/org/opensearch/knn/training/TrainingJobRunner.java
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobRunner.java#L112
Added line #L112 was not covered by tests
Check warning on line 115 in src/main/java/org/opensearch/knn/training/TrainingJobRunner.java
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobRunner.java#L115
Added line #L115 was not covered by tests
Check warning on line 136 in src/main/java/org/opensearch/knn/training/TrainingJobRunner.java
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobRunner.java#L136
Added line #L136 was not covered by tests
Check warning on line 157 in src/main/java/org/opensearch/knn/training/TrainingJobRunner.java
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobRunner.java#L156-L157
Added lines #L156 - L157 were not covered by tests
Check warning on line 173 in src/main/java/org/opensearch/knn/training/TrainingJobRunner.java
codecov / codecov/patch
src/main/java/org/opensearch/knn/training/TrainingJobRunner.java#L173
Added line #L173 was not covered by tests