This commit removes the log info message "Created ML annotations index and aliases". The message comes in addition to elasticsearch's index creation logging and it does not add to it. In addition, since #61107 that message may be logged multiple times. Backport of #61461
This commit is contained in:
parent
52b12a07c4
commit
18ca8a6be3
|
@ -96,12 +96,7 @@ class MlInitializationService implements ClusterStateListener {
|
|||
// index if there is a flurry of cluster state updates in quick succession
|
||||
if (this.isMaster && isIndexCreationInProgress.compareAndSet(false, true)) {
|
||||
AnnotationIndex.createAnnotationsIndexIfNecessary(client, event.state(), ActionListener.wrap(
|
||||
r -> {
|
||||
isIndexCreationInProgress.set(false);
|
||||
if (r) {
|
||||
logger.info("Created ML annotations index and aliases");
|
||||
}
|
||||
},
|
||||
r -> isIndexCreationInProgress.set(false),
|
||||
e -> {
|
||||
isIndexCreationInProgress.set(false);
|
||||
logger.error("Error creating ML annotations index or aliases", e);
|
||||
|
|
Loading…
Reference in New Issue