Skip to content

Commit

Permalink
Merge branch '8.1' into backport/8.1/pr-125127
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Feb 28, 2022
2 parents f5b992c + 4194b8f commit 762a189
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/kbn-es/src/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,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
Expand All @@ -282,7 +283,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 || ''}`;

Expand All @@ -295,7 +296,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,
Expand Down
2 changes: 2 additions & 0 deletions packages/kbn-es/src/integration_tests/cluster.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -387,6 +388,7 @@ describe('#run()', () => {
Array [
"action.destructive_requires_name=true",
"ingest.geoip.downloader.enabled=false",
"search.check_ccs_compatibility=true",
],
undefined,
Object {
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/common/fleet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import semverParse from 'semver/functions/parse';

export const POLICY_ELASTIC_AGENT_ON_CLOUD = 'policy-elastic-agent-on-cloud';

export const SUPPORTED_APM_PACKAGE_VERSION = '8.0.0';
export const SUPPORTED_APM_PACKAGE_VERSION = '8.1.0';

export function isPrereleaseVersion(version: string) {
return semverParse(version)?.prerelease?.length ?? 0 > 0;
Expand Down

0 comments on commit 762a189

Please sign in to comment.