Skip to content

Commit 8140a62

Browse files
Merge branch 'master' into discover_async_scripted_fields
2 parents 57fc84e + a0dc26f commit 8140a62

File tree

28 files changed

+137
-126
lines changed

28 files changed

+137
-126
lines changed

src/core/public/doc_links/doc_links_service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ export class DocLinksService {
111111
},
112112
kibana: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/index.html`,
113113
siem: {
114-
guide: `${ELASTIC_WEBSITE_URL}guide/en/siem/guide/${DOC_LINK_VERSION}/index.html`,
115-
gettingStarted: `${ELASTIC_WEBSITE_URL}guide/en/siem/guide/${DOC_LINK_VERSION}/install-siem.html`,
114+
guide: `${ELASTIC_WEBSITE_URL}guide/en/security/${DOC_LINK_VERSION}/index.html`,
115+
gettingStarted: `${ELASTIC_WEBSITE_URL}guide/en/security/${DOC_LINK_VERSION}/install-siem.html`,
116116
},
117117
query: {
118118
luceneQuerySyntax: `${ELASTICSEARCH_DOCS}query-dsl-query-string-query.html#query-string-syntax`,

src/es_archiver/lib/indices/create_index_stream.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
*/
1919

2020
import { Transform, Readable } from 'stream';
21+
import { inspect } from 'util';
22+
2123
import { get, once } from 'lodash';
2224
import { Client } from 'elasticsearch';
2325
import { ToolingLog } from '@kbn/dev-utils';
@@ -84,6 +86,18 @@ export function createCreateIndexStream({
8486

8587
stats.createdIndex(index, { settings });
8688
} catch (err) {
89+
if (
90+
err?.body?.error?.reason?.includes('index exists with the same name as the alias') &&
91+
attemptNumber < 3
92+
) {
93+
const aliasStr = inspect(aliases);
94+
log.info(
95+
`failed to create aliases [${aliasStr}] because ES indicated an index/alias already exists, trying again`
96+
);
97+
await attemptToCreate(attemptNumber + 1);
98+
return;
99+
}
100+
87101
if (
88102
get(err, 'body.error.type') !== 'resource_already_exists_exception' ||
89103
attemptNumber >= 3

test/functional/apps/dashboard/dashboard_filter_bar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export default function ({ getService, getPageObjects }) {
3030
const browser = getService('browser');
3131
const PageObjects = getPageObjects(['common', 'dashboard', 'header', 'visualize', 'timePicker']);
3232

33-
describe('dashboard filter bar', () => {
33+
// FLAKY: https://github.com/elastic/kibana/issues/71987
34+
describe.skip('dashboard filter bar', () => {
3435
before(async () => {
3536
await esArchiver.load('dashboard/current/kibana');
3637
await kibanaServer.uiSettings.replace({

test/functional/apps/management/_create_index_pattern_wizard.js

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -51,42 +51,6 @@ export default function ({ getService, getPageObjects }) {
5151
});
5252
});
5353

54-
describe('data streams', () => {
55-
it('can be an index pattern', async () => {
56-
await es.transport.request({
57-
path: '/_index_template/generic-logs',
58-
method: 'PUT',
59-
body: {
60-
index_patterns: ['logs-*', 'test_data_stream'],
61-
template: {
62-
mappings: {
63-
properties: {
64-
'@timestamp': {
65-
type: 'date',
66-
},
67-
},
68-
},
69-
},
70-
data_stream: {
71-
timestamp_field: '@timestamp',
72-
},
73-
},
74-
});
75-
76-
await es.transport.request({
77-
path: '/_data_stream/test_data_stream',
78-
method: 'PUT',
79-
});
80-
81-
await PageObjects.settings.createIndexPattern('test_data_stream', false);
82-
83-
await es.transport.request({
84-
path: '/_data_stream/test_data_stream',
85-
method: 'DELETE',
86-
});
87-
});
88-
});
89-
9054
describe('index alias', () => {
9155
it('can be an index pattern', async () => {
9256
await es.transport.request({

test/functional/apps/visualize/_tsvb_chart.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
2828
const security = getService('security');
2929
const PageObjects = getPageObjects(['visualize', 'visualBuilder', 'timePicker', 'visChart']);
3030

31-
describe('visual builder', function describeIndexTests() {
31+
// FLAKY: https://github.com/elastic/kibana/issues/71979
32+
describe.skip('visual builder', function describeIndexTests() {
3233
this.tags('includeFirefox');
3334
beforeEach(async () => {
3435
await security.testUser.setRoles([

x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/__snapshots__/template.test.ts.snap

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ function getBaseTemplate(
262262
index: {
263263
// ILM Policy must be added here, for now point to the default global ILM policy name
264264
lifecycle: {
265-
name: `${type}-default`,
265+
name: type,
266266
},
267267
// What should be our default for the compression?
268268
codec: 'best_compression',

x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_source_settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class MVTSingleLayerSourceSettings extends Component<Props, State> {
133133
label={i18n.translate(
134134
'xpack.maps.source.MVTSingleLayerVectorSourceEditor.layerNameMessage',
135135
{
136-
defaultMessage: 'Tile layer',
136+
defaultMessage: 'Source layer',
137137
}
138138
)}
139139
>

x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('getImmutableSourceProperties', () => {
8484
const source = new MVTSingleLayerVectorSource(descriptor);
8585
const properties = await source.getImmutableProperties();
8686
expect(properties).toEqual([
87-
{ label: 'Data source', value: '.pbf vector tiles' },
87+
{ label: 'Data source', value: 'Vector tiles' },
8888
{ label: 'Url', value: 'https://example.com/{x}/{y}/{z}.pbf' },
8989
]);
9090
});

0 commit comments

Comments
 (0)