From 226fae3240f001386f9937d1ae4d0097607c92da Mon Sep 17 00:00:00 2001 From: zane-neo Date: Thu, 16 Nov 2023 14:20:25 +0800 Subject: [PATCH] Add start cron job log Signed-off-by: zane-neo --- .../ml/cluster/MLCommonsClusterManagerEventListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/src/main/java/org/opensearch/ml/cluster/MLCommonsClusterManagerEventListener.java b/plugin/src/main/java/org/opensearch/ml/cluster/MLCommonsClusterManagerEventListener.java index 71ccfb9569..c4cdd9f899 100644 --- a/plugin/src/main/java/org/opensearch/ml/cluster/MLCommonsClusterManagerEventListener.java +++ b/plugin/src/main/java/org/opensearch/ml/cluster/MLCommonsClusterManagerEventListener.java @@ -91,6 +91,7 @@ public void onClusterManager() { private void startSyncModelRoutingCron() { if (jobInterval > 0) { + log.info("Starting ML sync up job..."); syncModelRoutingCron = threadPool .scheduleWithFixedDelay( new MLSyncUpCron(client, clusterService, nodeHelper, mlIndicesHandler, encryptor),