src/main/java/org/opensearch/ad/task/ADBatchTaskRunner.java (3 lines): - line 526: // TODO: if task failed due to limit exceed exception in half way, resume from the break point or just clear - line 846: // TODO: refactor to make the workflow more clear - line 1029: // TODO: Exception may be caused by wrong feature query or some bad data. Differentiate these src/main/java/org/opensearch/ad/model/AnomalyDetector.java (3 lines): - line 64: * TODO: Will replace detector config mapping in AD task with detector config setting directly \ - line 120: // TODO: support backward compatibility, will remove in future - line 685: * TODO: need to deal with the case where customers start with single-entity detector, we set it to 8 by default; src/main/java/org/opensearch/ad/feature/SearchFeatureDao.java (2 lines): - line 366: // TODO: tune timeout for historical analysis based on performance test result - line 935: // TODO: FeatureQuery field is planned to be removed and search request creation will migrate to new api. src/main/java/org/opensearch/ad/rest/AbstractAnomalyDetectorAction.java (2 lines): - line 42: // TODO: will add more cluster setting consumer later - line 43: // TODO: inject ClusterSettings only if clusterService is only used to get ClusterSettings src/main/java/org/opensearch/ad/AnomalyDetectorRunner.java (2 lines): - line 80: // TODO return exception like IllegalArgumentException to explain data is not enough for preview - line 132: // TODO return exception like IllegalArgumentException to explain data is not enough for preview src/main/java/org/opensearch/ad/transport/handler/AnomalyIndexHandler.java (2 lines): - line 113: // TODO: check if user has permission to index. - line 177: // TODO: Upgrade custom result index mapping to latest version? src/main/java/org/opensearch/ad/task/ADTaskManager.java (2 lines): - line 1779: // TODO: handle timeout exception - line 2790: * //TODO: support resuming failed task src/main/java/org/opensearch/ad/util/RestHandlerUtils.java (1 line): - line 183: * TODO: tune this function for wrapped exception, return root exception error message src/main/java/org/opensearch/ad/AnomalyDetectorJobRunner.java (1 line): - line 313: * TODO: Handle finer granularity exception such as some exception may be src/main/java/org/opensearch/ad/ml/EntityModel.java (1 line): - line 24: // TODO: sample should record timestamp src/main/java/org/opensearch/ad/rest/RestDeleteAnomalyResultsAction.java (1 line): - line 49: * TODO: build better user experience to reduce user's effort to maintain custom result index. src/main/java/org/opensearch/ad/rest/handler/AbstractAnomalyDetectorActionHandler.java (1 line): - line 784: // TODO: move this method to util class so that it can be re-usable for more use cases src/main/java/org/opensearch/ad/rest/RestExecuteAnomalyDetectorAction.java (1 line): - line 51: // TODO: apply timeout config src/main/java/org/opensearch/ad/settings/LegacyOpenDistroAnomalyDetectorSettings.java (1 line): - line 265: // TODO: performance test and tune the setting. src/main/java/org/opensearch/ad/rest/handler/ValidateAnomalyDetectorActionHandler.java (1 line): - line 116: // TODO: add implementation for model config validation src/main/java/org/opensearch/ad/feature/FeatureManager.java (1 line): - line 485: // TODO refactor this common lines so that these code can be run for 1 time for all entities src/main/java/org/opensearch/ad/constant/CommonName.java (1 line): - line 24: // TODO: move other index name here src/main/java/org/opensearch/ad/caching/PriorityCache.java (1 line): - line 712: // TODO: make it work for shingles. samples.size() is not the real shingle src/main/java/org/opensearch/ad/rest/RestIndexAnomalyDetectorAction.java (1 line): - line 77: // TODO: check detection interval < modelTTL src/main/java/org/opensearch/ad/settings/AnomalyDetectorSettings.java (1 line): - line 380: // TODO: performance test and tune the setting.