diff --git a/packages/kbn-es/src/cluster.js b/packages/kbn-es/src/cluster.js index 630a5e6567887..e8106b52d6aaf 100644 --- a/packages/kbn-es/src/cluster.js +++ b/packages/kbn-es/src/cluster.js @@ -252,6 +252,7 @@ exports.Cluster = class Cluster { const esArgs = [ 'action.destructive_requires_name=true', 'ingest.geoip.downloader.enabled=false', + 'search.check_ccs_compatibility=true', ].concat(options.esArgs || []); // Add to esArgs if ssl is enabled @@ -274,7 +275,7 @@ exports.Cluster = class Cluster { [] ); - this._log.debug('%s %s', ES_BIN, args.join(' ')); + this._log.info('%s %s', ES_BIN, args.join(' ')); let esJavaOpts = `${options.esJavaOpts || ''} ${process.env.ES_JAVA_OPTS || ''}`; @@ -287,7 +288,7 @@ exports.Cluster = class Cluster { esJavaOpts += ' -Xms1536m -Xmx1536m'; } - this._log.debug('ES_JAVA_OPTS: %s', esJavaOpts.trim()); + this._log.info('ES_JAVA_OPTS: %s', esJavaOpts.trim()); this._process = execa(ES_BIN, args, { cwd: installPath, diff --git a/packages/kbn-es/src/integration_tests/cluster.test.js b/packages/kbn-es/src/integration_tests/cluster.test.js index c4b1512331483..5633bd32b9ab2 100644 --- a/packages/kbn-es/src/integration_tests/cluster.test.js +++ b/packages/kbn-es/src/integration_tests/cluster.test.js @@ -309,6 +309,7 @@ describe('#start(installPath)', () => { Array [ "action.destructive_requires_name=true", "ingest.geoip.downloader.enabled=false", + "search.check_ccs_compatibility=true", ], undefined, Object { @@ -387,6 +388,7 @@ describe('#run()', () => { Array [ "action.destructive_requires_name=true", "ingest.geoip.downloader.enabled=false", + "search.check_ccs_compatibility=true", ], undefined, Object {