kibana/rfcs/text
Rudolf Meijering ce441bdc32
RFC Improve saved object migrations algorithm (#84333)
* Instead of cloning, reindex legacy index

* Reindex for every v2 migration

* Use _reindex?require_alias=true and a write block toggle to prevent lost deletes

* Use a ..._reindex_in_progress alias so that waiting for and preventing other reindex operations is idempotent

The first version of the reindex block had only the instance which was able to mark the migration as complete
set and remove the write block. This means other instances couldn't know if any reindex operaitons were in
progress if the migration was already marked as complete. It also meant that a failure in this critical step
could result in a permanent write block.

* Revert "Use a ..._reindex_in_progress alias so that waiting for and preventing other reindex operations is idempotent"

This reverts commit 8baf9b13db.

* Revert "Use _reindex?require_alias=true and a write block toggle to prevent lost deletes"

This reverts commit d7237ca42c.

* Use reindex + clone as a way to prevent lost deletes

* Fix numbering and ignore index_not_found_exceptionfor temporary index

* Apply suggestions from code review

Co-authored-by: Josh Dover <me@joshdover.com>

Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 13:54:52 +01:00
..
.gitkeep
0001_lifecycle_setup.md Fixed grammar (#74725) 2020-08-11 06:40:22 -04:00
0002_encrypted_attributes.md Changed alerting wrong param name for help xpack.encrypted_saved_objects.encryptionKey to xpack.encryptedSavedObjects.encryptionKey (#63307) 2020-04-10 19:18:19 -07:00
0003_handler_interface.md Changed alerting API endpoints urls, bodies and params to follow Kibana STYLEGUIDE (#66838) 2020-06-01 18:45:36 -07:00
0004_application_service_mounting.md Console to NP ready (#43346) 2019-09-12 13:28:29 +02:00
0005_route_handler.md Route handler interface (#39767) 2019-07-24 20:29:29 +02:00
0006_management_section_service.md Advanced settings component registry ⇒ kibana platform plugin (#55940) 2020-02-04 13:38:18 -06:00
0007_lifecycle_unblocked.md [RFC][skip-ci] Prevent plugins from blocking Kibana startup (#45796) 2019-12-18 14:52:18 +01:00
0008_pulse.md [RFC] Pulse (#57108) 2020-03-11 09:36:12 +00:00
0010_service_status.md Add plugin status API - take 2 (#76732) 2020-09-09 18:08:48 -06:00
0011_global_search.md Add globalSearch x-pack plugin (#66293) 2020-06-04 16:18:02 +02:00
0011_reporting_as_an_api.md [rfc][skip-ci][reporting] Rendering API RFC (#64372) 2020-06-18 09:26:05 -07:00
0012_encryption_key_rotation.md RFC: encryption key rotation support for the encryptedSavedObjects plugin (#72828) 2020-08-10 09:08:36 +02:00
0013_saved_object_migrations.md RFC Improve saved object migrations algorithm (#84333) 2021-02-10 13:54:52 +01:00
0013_search_sessions.md [Search Sessions] Replace search session constants with kibana.yml configs (#88023) 2021-01-15 01:14:02 +02:00
0014_api_documentation.md RFC for automatically generated typescript API documentation for every plugins public services, types, and functionality (#86704) 2021-02-04 17:22:22 -05:00