[ML] IllegalStateException from duplicate keys when reporting machine learning usage #108423
Labels
>bug
Feature:NLP
Features and issues around NLP
:ml
Machine learning
Team:ML
Meta label for the ML team
Description
IllegalStateException
has been observed when reporting ML telemetry.The issue is likely due to trying to map the stats for each deployment of a unique model id.
The failure originates here: https://github.com/elastic/elasticsearch/blob/main/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearningUsageTransportAction.java#L515
The deployments are added here using the same model id: https://github.com/elastic/elasticsearch/blob/main/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/action/GetTrainedModelsStatsAction.java#L313
The text was updated successfully, but these errors were encountered: