mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
Watcher: Improve upgrade API logging message to include index names
Original commit: elastic/x-pack-elasticsearch@9cecc11f88
This commit is contained in:
parent
026729e911
commit
6ee4fe6a0b
@ -165,8 +165,7 @@ public class WatcherLifeCycleService extends AbstractComponent implements Cluste
|
|||||||
if (isIndexInternalFormatTriggeredWatchIndex && isIndexInternalFormatWatchIndex) {
|
if (isIndexInternalFormatTriggeredWatchIndex && isIndexInternalFormatWatchIndex) {
|
||||||
executor.execute(() -> start(event.state(), false));
|
executor.execute(() -> start(event.state(), false));
|
||||||
} else {
|
} else {
|
||||||
logger.warn("Not starting watcher, run the Upgrade API first.");
|
logger.warn("not starting watcher, upgrade API run required: .watches[{}], .triggered_watches[{}]",
|
||||||
logger.debug("Upgrade required, matches interal index format: watches index [{}], triggered watches index [{}]",
|
|
||||||
isIndexInternalFormatWatchIndex, isIndexInternalFormatTriggeredWatchIndex);
|
isIndexInternalFormatWatchIndex, isIndexInternalFormatTriggeredWatchIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user