mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
# Backport This will backport the following commits from `main` to `8.8`: - [FTR: delete .kibana mappings from archives to avoid recreating SO indexes (#159957)](https://github.com/elastic/kibana/pull/159957) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-06-23T16:04:11Z","message":"FTR: delete .kibana mappings from archives to avoid recreating SO indexes (#159957)\n\n## Summary\r\n\r\nRelated to #159582\r\n\r\nTo better understand the PR, we need to have a look at `esArchiver.load`\r\nfunction and how it handles `mappings.json`:\r\n- It processes the file and if it finds saved object index (e.g.\r\n`.kibana`), it will delete all SO indexes (.kibana,\r\n.kibana_task_manager, .kibana_alerting_cases, etc.) created on Kibana\r\nstart. Then esArchiver will re-create all indexes according to defined\r\nmappings.\r\n\r\nIn order to keep our tests relevant to the latest code changes, it is\r\ngood to avoid re-creating SO indexes and use \"official\" ones whenever it\r\nis possible. This PR removes/cleans `mappings.json` files where it seems\r\nreasonable. I also deleted few not used archives:\r\n- es_archiver/saved_objects/ui_counters\r\n- es_archiver/saved_objects/usage_counters\r\n- security_solution_cypress/es_archives/empty_kibana","sha":"88871faf60ec5a62c4aea48911883a6d7f937777","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.9.0","v8.8.2","v8.10.0"],"number":159957,"url":"https://github.com/elastic/kibana/pull/159957","mergeCommit":{"message":"FTR: delete .kibana mappings from archives to avoid recreating SO indexes (#159957)\n\n## Summary\r\n\r\nRelated to #159582\r\n\r\nTo better understand the PR, we need to have a look at `esArchiver.load`\r\nfunction and how it handles `mappings.json`:\r\n- It processes the file and if it finds saved object index (e.g.\r\n`.kibana`), it will delete all SO indexes (.kibana,\r\n.kibana_task_manager, .kibana_alerting_cases, etc.) created on Kibana\r\nstart. Then esArchiver will re-create all indexes according to defined\r\nmappings.\r\n\r\nIn order to keep our tests relevant to the latest code changes, it is\r\ngood to avoid re-creating SO indexes and use \"official\" ones whenever it\r\nis possible. This PR removes/cleans `mappings.json` files where it seems\r\nreasonable. I also deleted few not used archives:\r\n- es_archiver/saved_objects/ui_counters\r\n- es_archiver/saved_objects/usage_counters\r\n- security_solution_cypress/es_archives/empty_kibana","sha":"88871faf60ec5a62c4aea48911883a6d7f937777"}},"sourceBranch":"main","suggestedTargetBranches":["8.9","8.8"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.8","label":"v8.8.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/159957","number":159957,"mergeCommit":{"message":"FTR: delete .kibana mappings from archives to avoid recreating SO indexes (#159957)\n\n## Summary\r\n\r\nRelated to #159582\r\n\r\nTo better understand the PR, we need to have a look at `esArchiver.load`\r\nfunction and how it handles `mappings.json`:\r\n- It processes the file and if it finds saved object index (e.g.\r\n`.kibana`), it will delete all SO indexes (.kibana,\r\n.kibana_task_manager, .kibana_alerting_cases, etc.) created on Kibana\r\nstart. Then esArchiver will re-create all indexes according to defined\r\nmappings.\r\n\r\nIn order to keep our tests relevant to the latest code changes, it is\r\ngood to avoid re-creating SO indexes and use \"official\" ones whenever it\r\nis possible. This PR removes/cleans `mappings.json` files where it seems\r\nreasonable. I also deleted few not used archives:\r\n- es_archiver/saved_objects/ui_counters\r\n- es_archiver/saved_objects/usage_counters\r\n- security_solution_cypress/es_archives/empty_kibana","sha":"88871faf60ec5a62c4aea48911883a6d7f937777"}}]}] BACKPORT--> Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co> |
||
---|---|---|
.. | ||
action_task_params | ||
actions | ||
alerting/8_2_0 | ||
alerts | ||
alerts_legacy | ||
auditbeat | ||
beats/list | ||
canvas | ||
cases | ||
dashboard/async_search | ||
data/search_sessions | ||
dlstest | ||
endpoint | ||
entity | ||
event_log_legacy_ids | ||
event_log_multiple_indicies | ||
event_log_telemetry | ||
filebeat | ||
fleet | ||
getting_started/shakespeare | ||
graph/secrepo | ||
hybrid | ||
infra | ||
kubernetes_security/process_events | ||
lens | ||
lists | ||
logstash/example_pipelines | ||
logstash_functional | ||
maps/data | ||
ml | ||
monitoring | ||
observability/alerts | ||
packetbeat | ||
pre_calculated_histogram | ||
reporting | ||
rule_exceptions | ||
rule_keyword_family | ||
rule_registry/alerts | ||
rules_scheduled_task_id | ||
security | ||
security_solution | ||
session_view | ||
signals | ||
task_manager_removed_types | ||
task_manager_tasks | ||
upgrade_assistant/reindex | ||
uptime | ||
visualize/default |